The moose likes JSP and the fly likes Problem with query string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem with query string" Watch "Problem with query string" New topic

Problem with query string

nick angel
Ranch Hand

Joined: Dec 14, 2005
Posts: 39
I wish to send in a query string something along the following lines:

However when I try this and print out the value of cLink I get the following:

Could someone plese help me. Thank you.
kumari Jain
Ranch Hand

Joined: Jul 28, 2004
Posts: 44
hey nick,
IN the query string ,

The symbol ? is used instead of & as the delimiter after query parameter
Hence value of cLink retrieved is

hence simply rectify the query string as below.

[ January 23, 2006: Message edited by: Bear Bibeault ]
It is sorta covered in the JavaRanch Style Guide.
subject: Problem with query string
It's not a secret anymore!