I guess the first thing to consider is what you mean by "come back to the
previous page".
Do you just mean have the user redirected back to that url when they have
finished playing with the search? or is it more complex. For example the
previous page is a form, and they are halfway through filling it in when
they need to search, and on completion need to take up where they left off
with filling it in?

In the first case the easiest way (Im assuming there are multiple places
that send you to the search page) might be to have the link to the search
page add a parameter to the url containing the name of an ActionForward that
will take the user back to this page.

The search page can make note of this forward name, and when the user is
finished searching can look it up and return it as the forward from the
searchs action.

-----Original Message-----
From: Shoaib [mailto:[EMAIL PROTECTED]
Sent: Saturday, 13 March 2004 14:01
To: 'Struts Users Mailing List'
Subject: Help on struts


We are using struts 1.1.

We have some pages where user is going to have some search icon and if
user clicks on that then he will move to search page where he can search
the value and then come back to the previous page.

Can somebody please give some idea how to do it.

Regards
Shoaib


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



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

Reply via email to