THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The solution suggested above works fine with steps (1) and (2) only, but from the architecture perspective the correct way is to add a filter to the Tomcat that will do necessary correction for the application deployed without any additional changes to the rest of the code.
- Make sure JSP header is set as suggested:
No Format |
---|
<%@ page contentType="text/html; charset=UTF-8"%>
|
2. Example of filter:
{{{import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*;
...