hi!
javax.http.HttpRequest - never heard of that, maybe that's the problem.
or the guy that implemented the servlet container you're using got
something wrong :)

-mw

At 11:31 20.03.2002 -0500, you wrote:
>the error says "getContextPath() method not defined in the class
>javax.http.HttpRequest". I am trying to get the context path and redirect
>the control to a different java server page.
>
>as an example, the following line of code is from an example on the
>java.sun.com website and i am trying to do something similar:
>
>--------<a
>href="<%=request.getContextPath()%>/cashier"><%=messages.getString("Buy")%><
>/a></p></strong>
>-Hari

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to