Tomcat Section Index | Page 21
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
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
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
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
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
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
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
Look at the Tomcat IIS How to file located at the address : http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-iis-howto.html (or http://jakarta.apache.org/cvsweb/index.cgi/jakarta-t...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?
While I am still making changes to a servlet code, how can I make a servlet reload every time I test it?
It depends on the web server you are using to test your servlet. For instance, with Tomcat, you would replace the WAR file and the server notices the change and loads the new servlet on the next r...more
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