Can I set timeouts for JSP pages in tomcat either on a per page or server level?
2 Answers
In the Tomcat server.xml file, the Connector element also has a connectionTimeout attribute in milliseconds.
Example:
<Connector URIEncoding="UTF-8" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" port="7777" redirectPort="8443" /> 1 Comment
Prasad Lele
I have set connectionTimeout=5 and requests processing time is 50 ms but still I can't see timeouts