Problem with request parameter in UTF-8 (Unicode)

2001-04-06 Thread Frank Peters

I have a JSP page including a form, all encoded in UTF-8, which
reaches the requesting browser just fine. The browser then submits the
form (GET or POST, same problem) to another JSP page on the same
server. When I try to read the request parameters via
request.getParameter("somename"), I receive garbage for every
character in the form fields not in the standard ASCII charset. The
request.getCharacterEncoding() function returns null.

I seems to me the received parameters are converted from ISO 8859-1 to
UTF-8 by Tomcat, though they already are encoded in UTF-8. Am I
missing a configuration setting, like some sort of default character
encoding? I have looked through loads of docs and the config files
themselves, but I did not find anything (except for the
"file.encoding=UTF_8" which I needed for sending the unicode pages).
I would appreciate any help.

TIA,
Frank Peters



Re: Taglibs

2001-03-05 Thread Frank Peters

Hi,

You seem to be missing your tag library desriptor file, an XML file in
which the tag properties are listed. If you do have the taglib.tld
file, you might want to check whether its location is set correctly in
your web.xml
See http://jakarta.apache.org/taglibs/tutorial.html#tag_library

HTH

Frank Peters

> Martin Mauri schrieb:
> 
> Dear people:
> 
> I've faced with the same problem once and again trying to use
> taglibraries and I read the documentation but nothing seems to be
> wrong.
> 
> In fact, I've copied the example that comes with the tag libraries
> suite from Apache and I published the context in the tomcat.conf and
> server.xml files.
> 
> but any time I want to access my jsp page, I got the same error:
> 
> After some compilation error, it says: I couldn't find the meta-inf
> TLD: taglib.tld
> 
> any idea?
> 
> Lic. Martin O. Mauri
> Profesion + Auge A.F.J.P
> Parana 666 - Cap. Federal
> TE: (011) - 43737786/7
> [EMAIL PROTECTED]
> www.profesi.com.ar

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]