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:
  1. Navigate to the tomcat/conf directory.
  2. 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>