</head>
<body>
<form action="/test.jsp" method=post>
<input name="test" value="" onblur="alert(this.value);">get:<%= a%>show:<%=
b%>
<input type="submit" >
</form>
</html>
On WLS 5.1 you can do this by setting the:
weblogic.httpd.inputCharset.<Dir name>=<charset name>
Please see the following URL for more information:
http://www.weblogic.com/docs51/classdocs/SERVICEPACK_README.html#release_notes
On WLS 6.0 set this value in web.xml --
http://edocs.bea.com/wls/docs60/adminguide/config_web_app.html#100357
On WLS 6.1 set the appropriate elements in weblogic.xml --
http://edocs.bea.com/wls/docs61////webapp/weblogic_xml.html#1031837
Hope this helps.
Laura
Developer Relations Engineer -- BEA Support
"wliu" <wliu...@21cn.com> wrote:
>Now I have meet a problem of chinese input on the html page.The jsp can
>show
>a chinese word "žÔ" ,but if I input the word in a text input box on the
>jsp
>and submit the form,I can not get it by request.getPatameter().
>The jsp source is :
><%@ page contentType="text/html; charset="GBK"%>
><%
> String a=request.getParameter("test");
> String b="žÔ";