wood burning stoves 2.0*
The moose likes Servlets and the fly likes servlet request URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet request URL" Watch "servlet request URL" New topic
Author

servlet request URL

unna kumar
Greenhorn

Joined: Oct 13, 2000
Posts: 11
If I want to get the url of the page from where
the servlet is called, which method should I use?
If I use getRequestURL() , it gives the url of the
web page I am browsing currently.
But I need the previous page url.
I want to know from which page the conytrol comes
from.
Please help.
Thanks.
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
Kumar,
Did you try this API?

regds
maha anna
[This message has been edited by maha anna (edited March 30, 2001).]
unna kumar
Greenhorn

Joined: Oct 13, 2000
Posts: 11
Thank you very much for reply, I am testing codes send by you,
would reply you the results
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet request URL