Chapter 5: Basic Tomcat Confi guration cgi /cgi-bin/*

Chapter 5: Basic Tomcat Confi guration cgi /cgi-bin/* –> Session Timeout Configuration The element configures the amount of time during which Tomcat 6 will maintain a session on the server side on behalf of a client. For example, the client may be in the middle of an online shopping transaction and still have products in the shopping cart. In this case, if the client does not return to the cart for 30 minutes, and no session persistence is used (see Chapter 6 for a description of the session persistence manager), all the client s cart information is lost. As administrators, it is important to balance carefully the value with the potential of overloading the server with too many stale sessions: 30 Handling Client-Side Helper Activation: Mime Mappings The next set of elements contains the default elements. Tomcat 6 uses these mappings to serve static files with specific extensions to the client. It generates an HTTP Content-Type header when transmitting the file to the client (typically a browser). Most browsers use a helper application to process the file being transmitted if they recognize the content type specified. For example, Microsoft Internet Explorer may start Microsoft MediaPlayer when it detects the video/x-mpeg content type. Note that these are only the default mappings; a Web application s own deployment descriptor (web.xml file) can override or add to this list: abs audio/x-mpeg ai application/postscript aif audio/x-aiff aifc audio/x-aiff … more mime mappings… Z application/x-compress z application/x-compress (continued)

If you looking for unlimited one inclusive web hosting plan please check unlimited web hosting website.

Comments are closed.