This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

developing Coustom URL

 
santosh dhulipala
Ranch Hand
Posts: 52
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic