File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes  getRequestURL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark " getRequestURL" Watch " getRequestURL" New topic


Me Fdo
Ranch Hand

Joined: Jan 12, 2004
Posts: 33
Could you please someone let me know what's wrong here
Build Error was getRequestURL(javax.servlet.http.HttpServletRequest ) was undefined for the servlet.

Ray Stojonic
Ranch Hand

Joined: Aug 08, 2003
Posts: 326
A quick peek at the javadoc reveals that getRequestURL is a member of HttpServletRequest and takes no parameters.
Juanjo Bazan
Ranch Hand

Joined: Feb 04, 2002
Posts: 231
The right way to do it:
I agree. Here's the link:
subject: getRequestURL
It's not a secret anymore!