Jsp character encoding configuration

2017-02-18 Thread Lazar Kirchev
Hello, According to the JSP 2.3 spec, section 3.3.4 (Declaring page encodings): "It is also a translation-time error to name different encodings in the prolog / text declaration of the document in XML syntax and in a JSP configuration element matching the document. It is legal to name the same

Adding/Exposing a custom module/service as part of the tomcat

2017-02-18 Thread Daga, Harshit
Hi, I want to add a custom service/module as part of the tomcat server which should start as part of tomcat startup. Service : I want to expose a service as part of tomcat startup which can store all the active sessions for the application running on the server and when I call this service

Re: Jsp character encoding configuration

2017-02-18 Thread Lazar Kirchev
I noticed something else strange. If in an jspx file I declare one and the same encoding (in my case Windows-1252) in both the XML prolog and the page directive pageEncoding property, on Tomcat 8.5.11 I get the error message: "Page-encoding specified in XML prolog (UTF-8) is different from that