I made a small java ee app, and a login in html, with a form post method to a java class verification.
UTF-8 is respected at the beginning, as we can see on this:
When the login or password is not good, we have this message at the top
And as you can see, there is a problem with accent. here is the source code after ctrl+u :
And this is the class that checks the login, and send a out.print.ln :
I don't understand why there is a problem with utf-8 after the out.print.ln ? How can I solve this ? I could have used a jsp page, but I used this tag lib in my web.xml file :
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<include-prelude>include/taglibs.jsp</include-prelude>
</jsp-property-group>
</jsp-config>
, that doesn't give me the possibility to use my index page as a jsp , which is in a different folder from others jsp, (because it tries to include taglibs.jsp, but it is in a different folder from the include prelude, I think you understood).
Thanks for your help