dcsimg
Please help on how to personalize URL
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   TUAN_LE
Posted On:   Wednesday, January 19, 2005 09:14 AM

Hi, I'm using Struts web application framework and I would like to know whether I can get the unique customer ID from the URL as bellow http://www.mycompany.com/mywebapp/johnsmiths where: - mywebapp is my Web application context - johnsmiths is a unique customer ID Note: there's no file extension at the end of johnsmiths. Is it possible to parse the above URL of unique customer ID and redirect to a second URL to process the customer information. For example, redirect URL http://www.mycompany.com/mywebapp/myaction.do?cid=johnsmiths Typically, using Struts framework one can pass the customer ID via a request parameter as http   More>>

Hi,

I'm using Struts web application framework and I would like to know whether I can get the unique customer ID from the URL as bellow



http://www.mycompany.com/mywebapp/johnsmiths



where:

- mywebapp is my Web application context


- johnsmiths is a unique customer ID



Note: there's no file extension at the end of johnsmiths. Is it possible to parse the above URL of unique customer ID and redirect to a second URL to process the customer information. For example, redirect URL



http://www.mycompany.com/mywebapp/myaction.do?cid=johnsmiths



Typically, using Struts framework one can pass the customer ID via a request parameter as



http://www.mycompany.com/mywebapp/myaction.do?cid=johnsmiths



I have it works fine with the latter URL. But, we would like to have a personalize URL without the parameter or file extension.



Thanks in advance for your time and help!

Tuan    <<Less
About | Sitemap | Contact