This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "request string % problem" Watch "request string % problem" New topic

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.
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="" target="_blank" rel="nofollow"></a>
subodh gupta
Ranch Hand

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

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
Don't get me started about those stupid light bulbs.
subject: request string % problem
Similar Threads
caching issue of c:forEach in JSF
IllegalStateException in servlet
Passing parameters between 2 servlets
passing value using Namespace from JSP to Portlet's processAction method?
Stuck on EL syntax for request values on child page