when using tomcat alone, everything is fine.
but when go to apache with mod_jk, there comes problem:

look at:
(tomcat standalone)
http://65.99.194.156:8080/nxnx/mix/%E4%BD%A0%E5%A5%BD

result: UTF-8%E4%BD%A0%E5%A5%BD你好...... <---this is correct what I want.

but:
(apache+mod_jk)
http://65.99.194.156/nxnx/mix/%E4%BD%A0%E5%A5%BD

result: UTF-8     <---missed query string

with the results above i use the code:
===================================
 public void processElement() throws EngineException {
        setContentType("text/xml");
        String name;
        try {
            print(getRequestCharacterEncoding());

            print(getInput("id"));

            print(URLDecoder.decode(getInput("id").trim(), "UTF-8"));

            name = URLDecoder.decode(getInput("id").trim(), "UTF-8");
..........
====================================

I thought it was apache or mod_jk config problem at first, and googled
for a whole day,
but not working, then I tried:

http://65.99.194.156/nxnx/W.jsp?%E4%BD%A0%E5%A5%BD

http://65.99.194.156:8080/nxnx/W.jsp?%E4%BD%A0%E5%A5%BD

the query is not missing!

does anybody know where is the problem?

thank you!


hui.
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to