File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet request URL

 
unna kumar
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1467
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kumar,
Did you try this API?

regds
maha anna
[This message has been edited by maha anna (edited March 30, 2001).]
 
unna kumar
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much for reply, I am testing codes send by you,
would reply you the results
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic