How to extract information from the URL
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mohammad_Zia
Posted On:   Monday, September 7, 2009 05:21 AM

Hi,

My application context root is '/rr/la' and my login page is '/login.xhtml' . But i need to extract some information from the URL. So the request can come like 'http://10.105.20.9:7013/rr/la/abcd/efgh/login.xhtml'.


I need to extract 'abcd/efgh' . Extraction is easy. But my problem is that when i do 'request.getRequestURI()' in my Servlet Filter it gives me '/rr/la/login.xhtml' rather that '/rr/la/abcd/efgh/login.xhtml'.


How to get this information.

About | Sitemap | Contact