Hello all,
I've problems in letting log4j automatically find the log4j.properties file.
I put log4j.jar in %CATALINA_HOME%\lib and my log4j.properties file in
%CATALINA_HOME%\classes.
I haven't put a log4j.jar version in my web-app/lib so normally all web
applications should
use the same log4j.
In %CATALINA_HOME%\conf\web.xml
This web.xml is loaded for every web application before the web.xml of the
web application itself is loaded.
In this 'global' web.xml you can specify defaults.
-Original Message-
From: Odo [mailto:[EMAIL PROTECTED]]
Sent: woensdag 6 februari 2002 13:51
To:
You need a Reader object pointing to an InputStream ?
Reader r=new java.io.InputStreamReader(myInputStream);
is it that what you want ?
-Original Message-
From: Lauer, Oliver [mailto:[EMAIL PROTECTED]]
Sent: donderdag 24 januari 2002 13:05
To: Tomcat Users List (E-Mail)
Subject: READER
I think you forgot the web.xml file which contains the mapping between the
URL and the servlet class file.
In web.xml which must be situated in WEB-INF directory, for each servlet
there must be a servlet-mapping entry:
servlet
servlet-nameMyServlet/servlet-name
I can give you the same answer as I gave to an our or two before:
I think you forgot the web.xml file which contains the mapping between the
URL and the servlet class file.
In web.xml which must be situated in WEB-INF directory, for each servlet
there must be a servlet-mapping entry:
servlet
in ./examples/WEB-INF/web.xml?
Thanks
Dom
-Original Message-
From: Walter De Wit [mailto:[EMAIL PROTECTED]]
Sent: 17 January 2002 10:18
To: 'Tomcat Users List'
Subject: RE: executing servlet in a jar file
I think you forgot the web.xml file which contains the mapping between the
URL
of the classes for this app
it could work.
I seem to recall seeing a post where something
like virtual host were defined.
Rgds
Dom
-Original Message-
From: Walter De Wit [mailto:[EMAIL PROTECTED]]
Sent: 17 January 2002 15:33
To: 'Tomcat Users List'
Subject: RE: executing servlet in a jar file
After
getServletContext() is a method of an javax.servlet.GenericServlet.
If your class does not extend this class, you will not have this method.
A simple bean is not a servlet.
-Original Message-
From: Fullerton Ross S [mailto:[EMAIL PROTECTED]]
Sent: donderdag 17 januari 2002 12:06
To:
Catalina is the name of Tomcat 4.0.
So Tomcat 4.0 uses CATALINA_HOME.
Previous Tomcat versions use TOMCAT_HOME.
When both variables exist, this is probably because you installed both
versions.
When I do a text search in the /bin directory on TOMCAT_HOME there are no
results, so I presume this