Tim,
Then how about request.getServletPath() ?
Rgds,
R
-----Original Message-----
From: Tim Davidson [mailto:tim.davidson@(protected)]
Sent: Tuesday, August 05, 2003 8:32 AM
To: JSP-INTEREST@(protected)
Subject: Re: JSP filename?
thanks but no, I actually want the filename, because if the user has been
forwarded to that JSP then request.getRequestURI() != the current page
-----Original Message-----
From: Yee, Richard K,,DMDCWEST [mailto:Yeerk@(protected)]
Sent: Tuesday, August 05, 2003 4:23 PM
To: JSP-INTEREST@(protected)
Subject: Re: JSP filename?
Tim,
Use request.getRequestURI();
Regards,
R
-----Original Message-----
From: Tim Davidson [mailto:tim.davidson@(protected)]
Sent: Tuesday, August 05, 2003 5:07 AM
To: JSP-INTEREST@(protected)
Subject: JSP filename?
Hi,
How can you obtain the filename of the current jsp?
thanks in advance.
===========================================================================
To unsubscribe: mailto listserv@(protected)
JSP-INTEREST". For digest: mailto listserv@(protected)
JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto listserv@(protected)
JSP-INTEREST". For digest: mailto listserv@(protected)
JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto listserv@(protected)
JSP-INTEREST". For digest: mailto listserv@(protected)
JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto listserv@(protected)".
For digest: mailto listserv@(protected)".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com