aspose file tools*
The moose likes Servlets and the fly likes How do i get the requestet url out in a string? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How do i get the requestet url out in a string?" Watch "How do i get the requestet url out in a string?" New topic
Author

How do i get the requestet url out in a string?

Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 348
How do i from the request get the url ???

Frank
[ August 16, 2006: Message edited by: Bear Bibeault ]
Anupam Sinha
Ranch Hand

Joined: Apr 13, 2003
Posts: 1088
Try request.getQueryString().
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10059
    
163

Check out the getRequestURL() method available on HttpServletRequest.html
[ August 16, 2006: Message edited by: jaikiran pai ]

[My Blog] [JavaRanch Journal]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How do i get the requestet url out in a string?