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>


Reply With Quote