AW: How to suppress implicit conversions when spliiting up the query string into parameters

2006-06-30 Thread KHZ (SAW)
users@tomcat.apache.org' Betreff: How to suppress implicit conversions when spliiting up the query string into parameters Hi world. We’ve severe problems if a URL contains an umlaut. For URL usage we encode strings using UTF-8, i.e. “ü” (which would be ü in HTML) can be viewed as “%c3%bc”. G

Re: How to suppress implicit conversions when spliiting up the query string into parameters

2006-06-29 Thread Hassan Schroeder
On 6/29/06, KHZ (SAW) <[EMAIL PROTECTED]> wrote: We've severe problems if a URL contains an umlaut. For URL usage we encode strings using UTF-8, i.e. "ü" (which would be ü in HTML) can be viewed as "%c3%bc". Getting the request parameter I'ld expect the same string. But we see 2 characters. Obvi

How to suppress implicit conversions when spliiting up the query string into parameters

2006-06-29 Thread KHZ (SAW)
so we see “ü”. It’s obviously p.i.t.ar. to convert such a thing directly to “ü”. As a workaround we split the query string ourselves (Java) and store it in a hash map. Using these data we can apply the decoding using UTF-8. There it works good. But the application is big. So we want to remove

Re: The query string

2005-10-13 Thread David Tonhofer, m-plify S.A.
Yes. Try the HttpServletRequest.getRequestURI() and HttpServletRequest.getQueryString() or something like that. --On Thursday, October 13, 2005 11:15 PM +1000 Kyle <[EMAIL PROTECTED]> wrote: Aren't these just ServletRequest parameters, so request.getParameter(string) should do it shouldn't it

Re: The query string

2005-10-13 Thread cristi
The solution proposed by David is convenient in some cases, but if my servlet makes a forwarding to a .jsp then it doesn't work. cristi Hello all If a client makes the following request to a servlet container : http://localhost:8080/cont/admin/page.jsp?doc=1002003&id=ZTJ006P1005 is it poss

RE: The query string

2005-10-13 Thread Matt Wiseley
EMAIL PROTECTED] Sent: Thursday, October 13, 2005 9:16 AM To: Tomcat Users List Subject: Re: The query string Aren't these just ServletRequest parameters, so request.getParameter(string) should do it shouldn't it? cristi wrote: > > Hello all > > > If a client makes the

Re: The query string

2005-10-13 Thread Kyle
Aren't these just ServletRequest parameters, so request.getParameter(string) should do it shouldn't it? cristi wrote: Hello all If a client makes the following request to a servlet container : http://localhost:8080/cont/admin/page.jsp?doc=1002003&id=ZTJ006P1005 is it possible to have acce

Re: The query string

2005-10-13 Thread David Delbecq
cristi a écrit : > > Hello all > > > If a client makes the following request to a servlet container : > > http://localhost:8080/cont/admin/page.jsp?doc=1002003&id=ZTJ006P1005 > > is it possible to have access to this string directly ? I am not sure. The best i know about is: request.getRequestUR

The query string

2005-10-13 Thread cristi
Hello all If a client makes the following request to a servlet container : http://localhost:8080/cont/admin/page.jsp?doc=1002003&id=ZTJ006P1005 is it possible to have access to this string directly ? Thx Cristi - To uns