Configure Tomcat

Configure the web.xmlfile.

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:
  1. Navigate to tomcat/conf directory.
  2. In the web.xml file, set the mapped file parameter to False in the servlet tag mentioned with <servlet-name>jsp</servlet-name>. <init-param> <param-name>mappedfile</param-name> <param-value>false</param-value> </init-param>.