tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Rowles <JRow...@ordsvy.gov.uk>
Subject RE: Can a url have a space in it?
Date Fri, 18 Jan 2002 09:48:50 GMT
> if uRL was http:/localhost/servlet/test?file=my%20documents
> then when your do :
> String paramV = request.getParameter("file");
> out.println("File Path is: " + paramV);
> 
> this should make paramV = "my documents"
> 
> is this what your looking for?
> B
> Anyone correct me if I am wrong please.

If you have that URL hardcoded or created in a string in NS4 Javascript and
you use it for say, "window,open(<url>, ..." then it will be truncated
instead of escaped.  Try not to do it.

J.
-- 
You're only jealous cos the little penguins are talking to me. 



***************************************************************
For more information on Ordnance Survey products and services,
visit our web site at http://www.ordnancesurvey.co.uk
***************************************************************




--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message