7.18 Configure Tomcat
To stop generating static content with one print statement per input line, you must
configure the web.xml
file.
To configure the
web.xml
file, perform the following steps:
- Navigate to the
tomcat/conf
directory. - Edit the
web.xml
file as follows:<servlet-name>jsp</servlet-name>.
<init-param>
<param-name>mappedfile</param-name>
<param-value>false</param-value>
</init-param>