File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
 
jQuery in Action, 2nd edition
 
subject: servlet request URL
 
Similar Threads
Need Help and Suggestion
How does servlet know which url to open?
Servlet to html
Get the URL of the page being redirected to?
Open new HTML window from applet