Put the following in your web.xml
to achieve the goal.
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<page-encoding>UTF-8</page-encoding>
</jsp-property-group>
</jsp-config>
See also:
More Related Contents:
- How to pass Unicode characters as JSP/Servlet request.getParameter?
- Unicode characters in servlet application are shown as question marks
- How to install JSTL? The absolute uri: http://java.sun.com/jstl/core cannot be resolved
- Java / Jakarta EE web development, where do I start and what skills do I need? [closed]
- How to internationalize/localize a JSP/Servlet web application?
- Populating cascading dropdown lists in JSP/Servlet
- Hidden features of JSP/Servlet [closed]
- Difference between JSP EL, JSF EL and Unified EL [closed]
- How do I call a specific Java method on a click/submit event of a specific button in JSP?
- Evaluate empty or null JSTL c tags
- Why Facelets is preferred over JSP as the view definition language from JSF2.0 onwards?
- Will a 302 redirect maintain the referer string?
- What is the difference between creating JSF pages with .jsp or .xhtml or .jsf extension
- java.lang.LinkageError: javax.servlet.jsp.JspApplicationContext.getExpressionFactory
- How to call parameterized method from JSP using JSTL/EL
- if…else within JSP or JSTL
- JasperException: The value for the useBean class attribute is invalid
- Referencing a resource placed in WEB-INF folder in JSP file returns HTTP 404 on resource
- JSTL tags on JSP page do not work and appear plain in HTML page source
- How to get value of bean property when property name itself is a dynamic variable
- Differences between cookies and sessions?
- How to install JSTL? The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved [duplicate]
- How does Java expression language resolve boolean attributes? (in JSF 1.2)
- Tomcat 8 enable debug logging to list unneeded jars
- Create an excel file for users to download using Apache POI
- Servlet send response to JSP
- Sending email using JSP
- how to compare list elements(type string) and string(in request scope) using struts 2 tags
- Passing parameters to another JSP file using tag
- Character encoding JSP -displayed wrong in JSP but not in URL: “á » á é » é”