<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
Wherever input controls are present, the following additional steps need to be taken:
Add the following code before reading any parameters in the previous JSP file:
request.setCharacterEncoding("UTF-8"); // Set the request encoding
While sending output to a browser:
response.setContentType ("charset=UTF-8");
In case of struts :
ReplyDeleteIf that doesn't works, try adding
request.setCharacterEncoding("UTF-8") in Action Form's reset method also. It might help.