This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

developing Coustom URL

 
santosh dhulipala
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

i have a peculiar need for my project and my manager want to it diffrently.
for example
when we type the following link
http://localhost:port/test/search/param1=hi/param2=welcome
it sh go to the test project and to the serach servlet in that i have to read parameter by after slash
a coustomized query String kind of

Thank you

Santosh
 
sudhir nim
Ranch Hand
Posts: 212
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at the http://www.tuckey.org/urlrewrite/ it may help you.
 
Madhan Sundararajan Devaki
Ranch Hand
Posts: 312
Java MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please use HttpServletRequest.getQueryString() API to get the entire query string and then use String functions to access the desired parameter.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic