Hi Haytham,
I am pretty new to Tomcat myself but I think this will help you.
Modify your setclasspath.bat file in your %TOMCAT%\bin dir to have
your files added to the CLASSPATH env variable. In this case as long as the
sun.misc.Launcher$AppClassLoader class loader is called to load the files
Hi Haytham,
I dont think Tomcat will allow you to load classes from any directory
below the
%TOMCAT% home dir. If it does then it would be a great security concern..by
changing
the classpath env variable it is the java classloader that is loading the
files for
you and not the apache
Hi All,
Are there any differences in using Tomcat4.1.x running under JDK1.3 and
under JDK1.4. If any please do let me know.
Thanks,
~Sumit
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Craig,
I agree with you 100% but there can be a simple solution to the problem
that you just raised..and that is that a new session id is created and
mapped in some table when moving from https--http this way user B can not
get access to the admin page.
~Sumit
On Thu, 9 Jan 2003, John
Yes add these loggers
Logger className=org.apache.catalina.logger.SystemErrLogger /
Logger className=org.apache.catalina.logger.SystemOutLogger /
~Sumit
-Original Message-
From: Lindomar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 11:44 AM
To: Tomcat Users List
Subject:
Do you have a servlet-mapping in your web.xml
Something like this might do for you(Change the MyClass value accordingly)
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/j2ee/dtds/web-app_2.2.dtd;
its the web.xml that you edit...see my last post today for an example
-Original Message-
From: Steve R Burrus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 5:45 PM
To: [EMAIL PROTECTED]
Subject: Tomcat Still Doesn't Display Servlet!
Hello all, maybe I am beating a dead
Hi All,
My application is a servlet and it uses another application that tries to
read a property file.
Now the problem is that this application was never designed to work along
with a servlet and
does not read its property file using a method like
This is a good idead Wendy but I can't change their code..
Sumit wrote:
Now the question that I have for you bright folks out there is how am I
supposed to go about
feeding this application its property file:)
Will this do?
ClassLoader cl = YourClassName.class.getClassLoader();
to
find it.
If the app isn't well documented, do you have its source code? Or do you
have support for the app that can tell you this?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Shrotriya, Sumit [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 9:35 AM
Thanks Yoav. that helped...I was running after the wrong horse:)
Regards,
-Sumit
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 10:31 AM
To: Shrotriya, Sumit
Subject: RE: Reading Property files...related to servlets
Hi,
It looks like
Vlad,
Unfortunately no. The output from System.err doesnt get logged not with
Tomcat4.1.12. I had run in the same problem a couple of days before and the
only alternative was to install cygwin and redirect the output to a file.
Sumit
-Original Message-
From: Vladimer Shioshvili
Vlad,
Yes you are right on that. When running as a service your output does get
logged to those files but when trying to run Tomcat as an application it
doesn't log the output.
My comments in my previous mail were not to get into an argument of any
sort. I take any words back if you felt
Hi All,
I am trying to read a property file from a package hierarchy.
i.e. I have a service(that I don't have much control over) that reads a
property file
for a location such as com/sample/property/some.prop
This worked fine when I was using Tomcat 3.3 but does not work with
14 matches
Mail list logo