Hi folks,
I have some Servlet that explicity sets the character encoding and redirect to some servlet
class Servlet1 extends HttpServle{
void doGet(..... ){
// ...
request.setCharacterEncoding("UTF-8");
response.setCharacterEncoding("UTF-8"):
//......
response.redirect(servlet2);
}
}
class Servlet2 extends HttpServle{
void doGet(..... ){
// ...
request.getCharacterEncoding(); // prints null ?? why???
//......
}
}
So, why the character encoding not being send with the request?