Ich habe zwei JSP's die ein und dieselbe Action nutzen, jetzt möchte ich in der Action den forward aber abhängig von der JSP machen die die Action aufgerufen hat. Kann man in einer Action herausfinden von welcher JSP die Action aufgerufen wurde?
<action-mappings>
<action path="/action1"
type="struts.MyAction" name="MyForm"
input="ersteSeite.jsp">
<forward name="result" path="ersteAusgabe.jsp" />
</action>
<action path="/action2"
type="struts.MyAction" name="MyForm"
input="zweiteSeite.jsp">
<forward name="result" path="zweiteSeite.jsp" />
</action>
<action-mappings>