tomcat « Parameter « JSP-Servlet Q&A





1. defining Tomcat servlet init parameters    stackoverflow.com

Scenario: foo.war file contains a default value of init parameter fooParam=1. This is defined in foo.war!WEB_INF/web.xml which contains:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app 
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 
 ...

2. Can getAttribute() method of Tomcat ServletContext implementation be called without synchronization?    stackoverflow.com

I would like to read some parameters during servlet initializtion (in init() method), and store them among servlet context attributes (using getServletContext().setAttribute()). I would like to read these parameters later - ...

3. Tomcat, IIS, and Servlet Parameters    coderanch.com