• Post Reply Bookmark Topic Watch Topic
  • New Topic

url mapping  RSS feed

 
Joshua White
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can you map /paramName/paramValue to be essentialy paramName=paramValue?

Here is an example:

http://www.jroller.com/page/somepage
http://www.jroller.com/page/someotherpage

these url's have a much better chance of getting indexed by search engines. I would like to know how to set this up. Could anyone point me in the right direction?

Regards,

Joshua
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a JSP issue, so moved to the Servlets forum.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot cause path info to be mapped to request parameters.

What you can do is to have your servlet get the path info and parse it to obtain the name/value pairs if it's worth it to you.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!