Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Encoding problem  RSS feed

Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Encodefilter which runs well on struts + tomcat4.
Now I start a new projection bases on webwork + hibernate + tomcat5.
I use the Encodefilter as a filter to url /*,and write a jsp like this:
<%@page contentType="text/html" %>
<%@page pageEncoding="GBK"%>
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=GBK">
The page can show chinese and english,but can't pass the chinese request parameter(it show the chinese with "???").
I watch my console,I find before the Encodefilter's doFilter(),the param is
already "???".
I don't know what's wrong.Is webwork or something else?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!