Announcement Announcement Module
Collapse
No announcement yet.
ContextLoaderPlugIn problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ContextLoaderPlugIn problem

    I am using the ContextLoaderPlugIn.

    What do I do in the case where I have multiple struts actions that maps to the same class?
    They need to be different mappings because they are coming from different forms and therefore have different actionforms.
    Do I need to define a spring bean for each of my struts actions even though they are the same class?

    Here is an example from my struts-config
    Code:
      <action  name = "GroupQueryForm" path="/UpdateQuery" scope="session" type="net.idt.ReportEngine.Editor.QueryEditor"
    		     validate ="false" parameter="actionType" input="/pages/groupQueries.jsp">
    	   <forward name="Query" path="/pages/groupQueries.jsp" />
    	   <forward name="EditQuery" path="/pages/query.jsp" />
    	   <forward name="queries" path="/pages/groupQueries.jsp" />
    	   <forward name="index" path="/pages/index.jsp" />
      </action>
      
     
    	<action  name = "QueryDetailForm" path="/SubmitQuery" scope="session" type="net.idt.ReportEngine.Editor.QueryEditor"
    			     validate ="false" parameter="actionType" input="/pages/query.jsp">
    		   <forward name="Query" path="/pages/groupQueries.jsp" />
    		   <forward name="index" path="/pages/index.jsp" />
      </action>

  • #2
    I saw I can overide the bean name to map to with determineActionBeanName. How do I implement this?

    Comment

    Working...
    X