Tomcat Section Index
How to set up Basic HTTP Authorization in Tomcat 4
There are two required steps to activate Basic HTTP authentication in Tomcat.
The first one is Tomcat specific task. You need to define the type of Realm you wanna use. You can choose different ty...more
Cross Site Scripting (XSS) with Jakarta Tomcat.
Hi,
The XSS vulnerability has been found at the time Tomcat 4.0.3 has been released (and 4.1.2 was in beta). The problem was connected to the fact that it was possible to run some specific classes...more
Is it possible, with Tomcat, to allow ONLY secure connections (HTTPS) for a Context or a Directory?
For allowing only HTTPS (secure) connections, you need to activate Tomcat's the SSL support. If you need help on this, just refer to the Tomcat SSL Configuration HOW-TO documentation pages.
Then, ...more
How to protect directories with a password in Tomcat? is there any .htaccess-like way to achieve this?
To password protect your pages you can use a Realm.
Please referer at the Tomcat Documentation for detailed info, like the Realm Configuration HOW-TO. Please always read the documentation.
However...more
Is it possible to install multiple instances of Tomcat on one server to create a development, test and production version?
Additional info:
I am trying to create a seperate development, test and production environment on one windows NT-server. To ensure that each environment is completely seperated from all others, I ...more
Is it possible to use COM ports in TOMCAT on a Win32 system?
Is it possible to use COM ports in TOMCAT on a Win32 system?
I get the "Port COM1 does not exist." error message every time I try to access to the serial port.
Quick patch for jsp source disclosure vulnerability?
Jakarta Tomcat has released a new version that simply deactivates a default ${catalina.home}/conf/web.xml setting of an InvokerServlet.
However, for some people with legacy systems using type 1 ...more
Why do I get the error. org.xml.sax.SAXParseException : Element type "web-app" must be declared. when starting my web application? It has a web-app element already!
Why do I get the error
org.xml.sax.SAXParseException : Element type "web-app" must be declared
when starting my web application? It has a web-app element already!
How can I start Tomcat as a daemon in Linux?
Unless you need the "status" functionality (that can be added, anyway), you can use 'catalina.sh' (for Tomcat 4.x) or 'tomcat.sh' (tomcat 3.x) directly for that.
ln -s /usr/local/tomcat...more
How to read a file from the WAR or webapp? If I have a configuration file, say an XML file, stored inside the WAR, how do I open it from a servlet?
How to read a file from the WAR or webapp?
If I have a configuration file, say an XML file, stored inside the WAR, how do I open it from a servlet? I.e., InputStream in = new FileInputStream(????);
more
How do I change the port from 8080 to 80?
Open server.xml in %TOMCAT_HOME%conf directory and edit the <Connector> element.
For SimpleTcpConnector, change the sub-element "port" value to 80. Yes, You got it!
more
Why doesn't encodeURL() work in Apache-Tomcat? It works fine with Tomcat standalone.
To: tomcat-user@jakarta.apache.org
Subject: Re: P: session tracking * encodeURL
From: Jason Rumney <jrumney@ipo.att.com>
Date: 18 May 2000 14:38:58 +0100
Johannes_Lorenz@mn.man.de writes:
...more
How do I use the DLLs from Tomcat to Servlet-enable Microsoft IIS?
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
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
How can I pass XML generated by JSP to Cocoon for further processing?
[
I am using tomcat 3.2.1 and cocoon 1.8.2. and I am using JSP's for dynamic generation of XML. How can i give this XML output to cocoon to apply XSLT (based on the requested client) and to give t...more