Thuogh due to version problem of servlet.jar i never used, method setCharacterEncoding ... but here is how I went:
In every
JSP page, I used UTF-8 encoding
<%@ page language="java"
contentType="text/html;charset=UTF-8">
[or alternatively you can achieve this by, using response.setContentType("text/html;charset=UTF-8") in servlets] and when u will submit any request from these pages(UTF encoded), though your servlet *will receive the request in UTF-8, but still params in request undergoes some change as each of them tend to get "0" i.e. leading zero's appended ... !!!
Hence before any operation, use
new String(request.getParameter(String).getBytes(strEncodingSrc));
where strEncodingSrc = encoding of box where application is running ... for windows
"ISO8859-1" .
Hope this helps !!!