Hi there,
You can use HttpUtils.getRequestURL(request); to get complete URL of your current
page. getRequestURL is a static method of HttpUtils and it demands a request
object as its parameter.

regards
Y


>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
>

===========================================================================
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

Reply via email to