Hi,
I’m working on a project where I have an image map of the United States and small clickable dots/circles that represent each city. When the user clicks a city on the map I take them to a search results page.
The URLs currently look like this:
http://www.abc.com/houston
http://www.abc.com/dallas
http://www.abc.com/chicago
http://www.abc.com/losangeles
http://www.abc.com/miami
I’d like each of those URLs and all the other cities of course to be routed to one handler that passes in the city name
How can this be done?
I know I could do this with my URLS, but I’d like to have the URLs look like the above if possible, but still yield the same affect.
**<a** href="#event.buildLink(linkTo='general.city',queryString='city=miami')#">**Miami****</a>**
**<a** href="#event.buildLink(linkTo='general.city',queryString='city=houston')#">**Miami****</a>**
Thanks and any guidance appreciated. Maybe I should be doing it a completely different way so I’m open to any thoughts.
Thanks…