[opencms-dev] how to access url displayed in browser's address bar

Andras Balogh andras at reea.net
Tue Sep 5 11:37:25 CEST 2006


Hello,

I'm not sure if I understand you 100% but You can check the:
HttpServletRequest getPathInfo()
http://java.sun.com/products/servlet/2.1/api/javax.servlet.http.HttpServletRequest.html#getPathInfo()

Best wishes,
Andras.

Arian Abrahantes Quintana wrote:
> Dear All:
>  
>  
> I've been using opencms for a while I still consider myself a newbie. Hope that some of you can help me.
>  
> Due proxies and other stuff in opencms the url is rewritten. I am able to access the full url content in the cms object request and I need to match it with the one displayed on the browser. So far I couldn't access the url displayed on the browser. I am doing on the case that somebody tries to fake the address to get into the server, i.e. writing the address by typing directly in the address bar.
>  
> I am aware that via javascript I can access history in the browser but many users, including myself, disable javascript operation on theirs browsers. I have found a few things in some java mailing list but they are browser dependent.
>  
> hope anyone can help m. best regards,
>  
> arian
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>   




More information about the opencms-dev mailing list