Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

How to get last requested page?

danipruebas

2008-11-25

Replies: Find Java Web Hosting

Author LoginPost Reply
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: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.