🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #262

Re: Problem with querystring special characters

#262
From: Shankar Unni
Date: Mon, 25 Sep 2006 18:46
11 lines
1451 bytes
R@ wrote:

> http://webapp/web.jsp?p1=stringa1&p2=stringa2&p3=me&you

This is hardly a Borland-specific question: you can obviously see that 
you need to encode the "&" above, otherwise how is your webserver going 
to distinguish that one from the others?

Hint: use the hex code for '&': as in %26:

http://webapp/web.jsp?p1=stringa1&p2=stringa2&p3=me%26you
Technical Details
Message-ID: <451823e9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <AWsRg.2014$Xm.79@tornado.fastwebnet.it>

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,87a715587c82a549
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 25 Sep 2006 11:46:02 -0700
From: Shankar Unni <shankarunni@netscape.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.3.0
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: Problem with querystring special characters
References: <AWsRg.2014$Xm.79@tornado.fastwebnet.it>
In-Reply-To: <AWsRg.2014$Xm.79@tornado.fastwebnet.it>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 64.171.57.66
Message-ID: <451823e9$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1159209961 64.171.57.66 (25 Sep 2006 11:46:01 -0700)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail