my dog learned polymorphism*
The moose likes Servlets and the fly likes request string % problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "request string % problem" Watch "request string % problem" New topic
Author

request string % problem

subodh gupta
Ranch Hand

Joined: Jul 23, 2007
Posts: 203
Hi Ranchers,



In this request Url i am receving nothing in the modulePer field can you help me with escape character for it.


http://subodh-gupta.blogspot.com
Balasubramani Dharmalingam
Ranch Hand

Joined: Dec 06, 2004
Posts: 116


Use encodedURL. Then it should work..


Balasubramani SD,<br />SCJP 1.4,SCWCD 1.4,SCJP 5.0<br /><a href="http://sd.balasubramani.googlepages.com" target="_blank" rel="nofollow">www.sd.balasubramani.googlepages.com</a>
subodh gupta
Ranch Hand

Joined: Jul 23, 2007
Posts: 203
any other way?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by subodh gupta:
any other way?


Why are you asking for another way?
If you want to send control characters in a query string, you have to encode them.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: request string % problem