Announcement Announcement Module
No announcement yet.
ContextLoaderPlugIn problem Page Title Module
Move Remove Collapse
Conversation Detail Module
  • 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
      <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  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" />

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