Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I ensure that Tomcat compiles servlets with debugging info included (-g option of the javac compiler)?

0
Posted

How can I ensure that Tomcat compiles servlets with debugging info included (-g option of the javac compiler)?

0

Location: http://www.jguru.com/faq/view.jsp?EID=809402 Created: Mar 23, 2002 Author: Michael Dean (http://www.jguru.com/guru/viewbio.jsp?EID=805382) Question originally posed by will b (http://www.jguru.com/guru/viewbio.jsp?EID=808586 Note: This solution applies to Tomcat 4.x.x Inside Tomcat’s default web.xml file (CATALINA_HOME/conf/web.xml) there is a servlet declaration for the “jsp” servlet (which is used to process JSP’s). If you set a servlet parameter named classdebuginfo to true, Tomcat will include debug info. Following is Tomcat’s default declaration with the classdebuginfo parameter added: jsp org.apache.jasper.servlet.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.