Perhaps escaping the # would work. >From: Guillermo de Jes�s HOYOS RIVERA <[EMAIL PROTECTED]> >Reply-To: "A mailing list for discussion about Sun Microsystem's Java > Servlet API Technology." <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: URL information >Date: Mon, 28 Jan 2002 14:58:03 +0100 > > Hello Listers, > > I have a servlet that works as a Proxy. In that servlet I >have to manipulate the URL information, which is sent via an URL parameter, >however when I try to retrieve the URL I cannot get the information related >to the Intra-Page links. Per example, given next URL: > > >http://localhost/CLB/servlet/ProxySvr?URL=http://any.other.host.com/manual/ >http://localhost/CLB/servlet/ProxySvr?URL=http://any.other.host.com/manual/m >od/module-dict.html#Status > > When I click over this link it is called the ProxySvr >servlet, which will receive as a parameter the >URL=http://any.other.host.com/manual/mod/module-dict.html#Status, however >when I execute the next command inside the servlet: > > String query = request.getParameter("URL"); > >the resulting string does not have the #Status, resulting in something like >the next: > > http://any.other.host.com/manual/mod/module-dict.html > > As you may guess this is not the behavior that I want. > > Does someone of you know what can I do to get the full >reference (http://any.other.host.com/manual/mod/module-dict.html#Status)?. > > I am running Jakarta Tomcat 3.3 with Apache 1.3 on a Linux >RedHat 7.2. > > Thanks in advance and best regards to all of you. > > Guillermo.
_________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx ___________________________________________________________________________ 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
