tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carroll" <>
Subject [Tomcat-user] Servlet Context Parameter... illegal characters...
Date Sun, 18 Mar 2001 18:30:07 GMT


in my web.xml in the part that specifies:

this works:

but this doesn't:

Either the ? or the & is messing up the parser... 

Is this a bug? or is there a way of escaping the special characters?

-Jim Carroll

-----Original Message-----
From: Martin Ko []
Sent: Friday, March 16, 2001 9:08 PM
Subject: RE: escape() Problem...

Thanks, Wouter

M$ IE javascripting engine is working differently from NS js engine.
That is, in NS, escape function returns uri encoded string by *%CF%DF*
but in IE, escape function returns by *%uABCD* unicode format, and this 
lead to decode error in apache web server.
Yes, to use is an only way to solve this

Thanks again.

At 03:54 ¿ÀÈÄ 2001-03-16 +0100, you wrote:
>Don't rely in JavaScript.
>Use, and
>you push the parameters to the browser.
>-----Original Message-----
>From: Martin Ko []
>Sent: 16 March 2001 14:52
>Subject: escape() Problem...
>Hi, all.
>I wrote a jsp page which send request by QUERYSTRING with a parameter
>containing international characters, and which get the parameter.
>I'm working with apache as a web server and tomcat as a jsp engine.
>And, with Netscape browser, I encode the string by escape function
>(javascript) before sending it, and it works fine. However, in IE, it
>When I use only tomcat as a web server without apache, I saw a strange
>In this case, if I use escape function in NS, and if I don't use escape
>function in IE, then it goes well !!
>But with apache as a web server, this action does not solve the
>So, I think I should set some configurations on apache web server, but
>have no idea...
>Can anyone help me?
>My jsp page is:
><%@ page language="java" %>

View raw message