> -----Original Message-----
> From: A mailing list about Java Server Pages specification
> and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Joseph B. Ottinger
> Sent: 03 December 1999 14:56
> To: [EMAIL PROTECTED]
> Subject: How to get the text after the jsp file?
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Sorry, I forgot the term for it.
>
> Getting the query parameters is easy; file.jsp?a=b&c=d, the a and c
> parameters are nothing to extract.
>
> However, what if the URL is of the form file.jsp/a? Is the
> "a" accessible
> at all?

Try
        HttpServletRequest.getPathInfo()

HTH,

Steve

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to