Tomcat Section Index | Page 21
Yes, there is a bug in Tomcat 3.1 (and possibly other servlet engines). To send a cookie through a redirect, you must set the headers manually. firstname.lastname@example.org suggests: Cookie long_term...more
IMHO yes.We are presently running Tomcat (servlet & jsp requests) with Apache (graphics, perl, html) on 9 Solaris/Sparc servers servicing over 10 million servlet/jsp transactions per day. No k...more
It depends on the servlet engine. Each has its own type of config file in which you can set the names and values of init parameters; these get passed to the servlets (or JSPs) via th...more
Check out the still nascent Tomcat Users Guide. [As of Tomcat 3.3, the User's Guide is included in the distribution as http://127.0.0.1:8080/doc/tomcat-ug.html. -Alex] more
If you're asking how to setup Tomcat to run servlets then you should probably start by reading the current version of the still nascent Tomcat User Guide. more
No. By definition, the beta status says that that program should (only) be used for ("serious") testing. Of course, it's up to you whether or not you heed that warning. more
STeve Punte, from the Tomcat Users List, writes: The web site http://www.ccl.net/cca/software/UNIX/apache/index.shtml was great for me on getting SSL operational. Not for the faint of heart! ...more
For web.xml, look in the Servlet Specification, chapter 13, "Deployment Descriptor." Note that Tomcat uses the default web.xml file, located in TOMCAT_HOME/conf/web.xml, as the base...more
You have to add the '--enable-module=so' option to your 'configure' call in order to enable DSO, i.e.: ./configure --prefix=/usr/local/apache --enable_rule=SHARED_CORE --enable-module=so (Than...more
One possibility is that if you disabled the Apj12 connector in your server.xml you have also disabled the mechanism by which Tomcat shutdown is executed -- try putting that back in if you've comm...more
The JSP Spec v 2.2 is a good starting point. http://java.sun.com/products/servlet/2.2
How do I make Tomcat 3.1 invoke my servlets via the url <host>/servlets/<class> instead of <host>/servlet/<class> that it's doing now?
Change the url-pattern of the default servlet invoker located in the "deployment descriptor" for your web application. This file us usually located in <context>/WEB-INF/web.xm...more
I've just set up Tomcat 3.1, created a context, and when I try and run a sample JSP page, I get: Error: 500, Internal Servlet Error: java.lang.NullPointerException
You probably forgot to create a classes folder located at: <context>/WEB-INF/classes Create the folder, restart tomcat, all should be well.
Is there any method to unload a servlet from Web Server memory without restarting the server?
For Tomcat: Download jk_nt_service.exe and follow the instructions in the document "NT-Service-howto.html" (on the Jakarta Web site and included in the Tomcat distros). Also see the minimalisti...more