Hi
it gives me class cast exception in tomcat 3.1.
When I use this in my tag library.
I use HttpUtils.getRequestURL( (HttpServletRequest)
pageContext.getRequest());
Any Suggestion.
Thanks
----- Original Message -----
From: David Gecawich <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 04, 2000 12:07 AM
Subject: Re: Getting back the resultant URL
> Try this from your resultant JSP:
>
> <%
> System.out ( "URL Path is: " +
ttpUtils.getRequestURL( (HttpServletRequest)request ) );
> %>
>
> or:
>
> <%
> System.out ( "URL Path is: " + request.getRequestURI() );
>
> %>
>
> Note the in the above example, it is assumed that an implicit
HttpServletRequest variable named "request" is defined. This is
> implementation dependent. WebLogic and JRun both define "request"
implicitly.
>
> David Gecawich
> Adaptive Minds, Inc.
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ritesh_Srivastava
> Sent: Monday, July 03, 2000 7:18 AM
> To: [EMAIL PROTECTED]
> Subject: Getting back the resultant URL
>
>
> Hi,
> I am writing a JSP file where by i have a link.Click on the link
> executes a command which is in the form of a URL.This URL then dispatches
> the message to the server and the requested page is opened.(The requested
> page URL is different from the one i requested 'cos the server creates a
URL
> based on what i provided earlier.
> Can the resultant URL be trapped on the same Page.
> Please help.
> Regards,
> Ritesh
>
>
===========================================================================
> 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
===========================================================================
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