----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Matthew Taylor wrote:
>
> I want to use dynamic hyperlinks, ie
> <a href="/servlets/ReviewProjInfo?ProjNo=3000001">
>
> these work fine where I am using a number variable, but if I use a text
> variable, spaces, apostrophies etc. require translation for passing to
> servlets.
>
> Is there a java class/method for doing this?
>
> (duh, I misposted this to the wrong list earlier, apologies ....)
You did it again. :-)
You want java.net.URLEncoder and java.net.URLDecoder, I think.
-- Travis Low
<mailto:[EMAIL PROTECTED]>
<http://dawnstar.org/travis>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]