Johny Kadarisman wrote:
I run for standalone, its correct. Any changes from my previous code?
I replaced the debug calls by System.out, removed the response object (didn't had the code for it), used a HashMap to store parameters, and that's it.
One more point : doing str.getBytes() is not good. Depending on your local default String encoding, you may have a totally different result from one machine to another one. You should do getBytes( encoding ) where encoding is the encoding used for your string. In your case, "UTF-8" should be ok.
-- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org
