Click to See Complete Forum and Search --> : Capture Web Page Address - Go, Retern, Refresh


Telemark
06-26-2005, 03:30 PM
My daughter is working on an existing Java web project. Certain web pages are accessable to the public. From any page she would like members to capture that page and have people be able to go to a logon screen, and after loging on have the program return to the page they came from.

She can't figure out how to capture the web page and she can't figure out how to refresh the screen after returning from the login.

Can someone explain how to do this and I will pass the information on to her?

Thanks

Oak
06-27-2005, 05:51 AM
The page that was requested will be part of the request object.

You could capture this value and store it in the form that the user is redirected to so that when they submit the form you can forward the request to the correct page after the processing is done.

Also, if you want better help, you must advise us of what framework you are using etc.

Telemark
06-27-2005, 03:22 PM
What would be an example of a "framework"? The application is encapsuled in an environment called Eclipse. What would be an example of "etc."? I will pass on the form information you have given so far to her tonight, and get you all the info you subsequently request too. - thanks.