Personalized URL
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   TUAN_LE
Posted On:   Friday, January 28, 2005 05:23 AM

Hi, I want to give my client a personalized URL like http://www.mydomain.com/FirstNameLastName Is there anyway I can capture the Firstname and the Lastname from the query string using Struts framework? Because this URL does not have a filename e.g. .htm or .jsp and this does not hit my custom 404 as well. Is this possible? I have seen some personalized e-cards like this. One option is to create an HTML file for each customer (let's say we have 1000 customers) and inside HTML body have it redirect to a Struts action to process the customer information based on their unique first name and last name combination. But this option is not attractive for our case becaus   More>>

Hi,

I want to give my client a personalized URL like http://www.mydomain.com/FirstNameLastName



Is there anyway I can capture the Firstname and the Lastname from the query string using Struts framework?



Because this URL does not have a filename e.g. .htm or .jsp and this does not hit my custom 404 as well.



Is this possible? I have seen some personalized e-cards like this.



One option is to create an HTML file for each customer (let's say we have 1000 customers) and inside HTML body have it redirect to a Struts action to process the customer information based on their unique first name and last name combination. But this option is not attractive for our case because of 2 reasons



1) we have to generate 1000 HTML files with customer name

2) The URL has a file extension .html at the end.



Thanks in advance for your help!

Tuan

   <<Less

Re: Personalized URL

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, January 29, 2005 07:41 AM

You can parse the request URI string in your Action, if that's what you mean?
About | Sitemap | Contact