<%@ page contentType="text/html;charset=UTF-8"%>
Note that any internal JSP portlet uses UTF-8 and must have this attribute set.
If your JSP portlet includes other resources like HTML jasper might behave strangely (sometimes assuming UTF-8 and sometimes ISO-8859-1) with resulting encoding problems. To solve this issue alter the extention of your HTML file to jsp and add the page directive specified above.
The java files generated by jasper are located in the working directory of sitevision.
Denna sida publicerades: 2016-09-30
Missa inga nya rön, tips och tricks! Prenumerera på insite!