>Is there an expression that will return the name of the current page?
Yes, use
request.getServletPath()
Paul Nadler
Ken Martin <[EMAIL PROTECTED]> on 07/12/2000 02:03:43 PM
Please respond to A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Paul NADLER/us/socgen)
Subject: Thanks, and another newbie question...
Thanks to those who responded to my character replace question, and I've got
another which I expect should be easier, but...
Is there an expression that will return the name of the current page?
Ken Martin
P.S. I did try things like <%= (new HttpServletRequest.getRequestURI()) %>
to no avail - most certainly my own lack of knowledge... :(
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
**************************************************************************
The information contained herein is confidential and is intended solely
for the addressee(s). It shall not be construed as a recommendation to
buy or sell any security. Any unauthorized access, use, reproduction,
disclosure or dissemination is prohibited.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
shall assume any legal liability or responsibility for any incorrect,
misleading or altered information contained herein.
**************************************************************************
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets