Hi,

I am using Tapestry 5.0.5.

Thanks.
Ken

Hi,

I copied 'buildUtf8Filter' method from the URL below
(in citation) and add:

   configuration.add("Utf8Filter", utf8Filter);

in my AppModule.
Then I got:

   HTTP ERROR: 500
   Internal Server Error
   RequestURI=/sample/
   Powered by Jetty://

What am I wrong?


I have some concern.

1. in Tapestry5Utf8Encoding, it uses:

   requestGlobals.getHTTPServletRequest()

   but there is no method 'getHTTPServletRequest' for
   class RequestGlobals. So I rewrite it to 'getRequest'.

2. likewise, method 'setCharacterEncoding' does not in
   HttpServletResponse, so I rewrite it to 'setEncoding'.


thanks.
Ken

Nick Westgate wrote:

If you are using file upload there may be an incompatibility.
Otherwise, are you sure you added this line to contributeRequestHandler()?
    configuration.add("Utf8Filter", utf8Filter); // handle UTF-8

Cheers,
Nick.


Lauri Benno wrote:

Hi,

I'm totally lost on this. I'm using UTF-8 on my application and output
is working fine. I followed instructions on
http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding and added UTF-8
filter to AppModule but I'm still receiving gibberish in my page class
when I try to submit a form that has characters  outside the English
alphabet (like ö,ä,ü) in it. As I'm using Jetty I did even set
org.mortbay.util.URI.charset=UTF-8 but still no help.
What am I missing here?

Below is my dev environment:
Tapestry 5.0.6-SNAPSHOT
Java 6 u3
Maven Jetty plugin (Jetty 6.1.6rc0)
OS: openSuse 10.3


Lauri


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

Reply via email to