I know this question is more related to java by itself more than to struts, but need some help :)

I have to re-use a method in a class, and then depending on from which jsp page comes, forward to one jsp or another:
Page1.jsp (globalForward to method.do)               endpage1.jsp
\ /
> INPUT    Method.do  (if request comes from page1)  OUTPUT >
                 /                         ( if request comes from page2)
Page2.jsp  (globalforward to method.do)                      \endpage2.jsp


Is any method that tells me the last request jsp? Or how could i manage this situation?

Thanks in advance.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to