tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George S." <geor...@mhsoftware.com>
Subject Re: Accessing HREF Target from Servlet
Date Fri, 28 Jun 2013 00:56:38 GMT
OK, I'm thinking that was a dumb question. If I'm understanding things, 
the browser is making the request for the page, and then looking for the 
HREF target in the generated page. So, the reality is that tomcat never 
sees the part after the # sign. Rats.


On 6/27/13 6:51 PM, George S. wrote:
> I have a question. I'm doing some oAuth stuff, and the remote site is 
> redirecting me to:
>
> my_url.html#something=blah&other_thing=blah-blah
>
> I can see this is the url in the redirect of my browser bar.
>
> What I can't figure out is how to access the part of the URL after the 
> pound sign. I've tried getRequestURI(), getPathInfo(), 
> getServletPath(), getPathTranslated(), and nothing is working. Also, 
> the elements are (correctly) not showing up in the parameters collection.
>
> How can I get that part of the URL from inside a servlet?
>

-- 
George Sexton
MH Software, Inc.
303 438-9585
http://www.mhsoftware.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message