Look at ResourceBundle in the java docs.
You can use the getBundle()method to load property
files. The classpath is searched for the property
file. So you can put the property file in you web
apps. classes directory or in a jar file under
lib.
--- Batsheva Raviv [EMAIL PROTECTED] wrote:
has
Hi vinay
Thanks a lot for u r helpful response
...I installed Tomcat 3.2 and jdk1.2.2 ...
U told me copy classes12.zip in
TOMCAT_HOME/lib/apps but apps directory is not in lib .So can
i copy that zip file directly in TOMCAT_HOME/lib directory? and one more
thingfor classpath writing there
Thanks a lot for u r helpful response ...I installed Tomcat 3.2 and
jdk1.2.2 ...
U told me copy classes12.zip in TOMCAT_HOME/lib/apps but apps directory
is not in lib .So can i copy that zip file directly in TOMCAT_HOME/lib
directory? and one
more thing for classpath writing there are two
We want to deploy our product with precompiled JSP pages, in order to
avoid the need of JDK 1.2.2 ( which is not redistributable ), or more
precise the need for tools.jar that let us compile JSPs.
Do you see any problem with this? Does everybody are doing so? and if
not why, since it seems to
There is a bug in Tomcat 3.2.2.
The session is not timing out and valueUnbound is not being called, even
with setMaxInactiveInterval(10).
This bug only happens in windows 2000.
Pretty annoying stuff...
Sergio
_
Get Your
hello,
i 've unzipped tomcat4 on my system and created classes forlder in its root dircetory
for having servlet classes.i put all servlet classes in that folder.when i access
servlet it give status code 404(i.e resource /servlet/classname) not found.what is the
problem with it.
khurram
i 've unzipped tomcat4 on my system and created classes
forlder in its root dircetory for having servlet classes.i
put all servlet classes in that folder.when i access servlet
it give status code 404(i.e resource /servlet/classname) not
found.what is the problem with it.
Classes go into
There is a bug in Tomcat 3.2.2.
The session is not timing out and valueUnbound is not being
called, even
with setMaxInactiveInterval(10).
This bug only happens in windows 2000.
Pretty annoying stuff...
I run windoze2000 and tomcat 3.2.2 and do not have this problem.
I've never
Hi, I am sorry to raise such an issue as I am sure
that it was well handled so far, only that I couldn't find any solution to my
problem in any archive...
I want to have the Tomcat 3.2.2 to serve IIS 5 (out
of process). I followed the instructions too well... But (there is always a
'but',
Hi there
i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works
fine but for some reason it does not run the jsp examples in the local host
or any other jsp pages i created, even though it runs the servlets ok. i get
the error shown at the end of this mail. But the strange
it is very helpful,
Thank you,
Batsheva
-Original Message-
From: Wyn Easton [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 08, 2001 3:50 AM
To: [EMAIL PROTECTED]
Subject: Re: calling a config file from bean
Look at ResourceBundle in the java docs.
You can use the getBundle()method to
Hi there
i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works
fine but for some reason it does not run the jsp examples in the local host
or any other jsp pages i created, even though it runs the servlets ok. i get
the error shown at the end of this mail. But the strange
It is not clear (to me) that I have to manually start both Tomcat
and
Apache servers on NT (Win2K Pro). I expected Apache to start Tomcat
as/if needed, but that fails, but everything works fine for Tomcat
standalone, or if it is manually started, and then Apache just
connects
to it.
Is this
Hi there
i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works
fine but for some reason it does not run the jsp examples in the local host
or any other jsp pages i created, even though it runs the servlets ok. i get
the error attached to this mail (error.txt). But the
I am using jdk1.3.1
I did some dubugging with the tomcat sources, and it seens that the problem
has to do with the Thread.sleep of StandardManager.java. This thread just
checks for expired sessions.
The thread is not waking up. Sometimes it does wake up, but most of the time
it doesn´t.
I'm trying to create a new URL to go to. If I wanted to use the
request.getPort() method I'd have to also call getHostName() and
manually construct the URL. It was my understanding that the
getRequestURL method did that for you.
This code ran under JRun 3.x but for some reason wont run under
Subj: Help with Tomcat 4.0 b5
Date: 08/07/01 19:09:10 GMT Daylight Time
From: TIMBMS
To: [EMAIL PROTECTED]
Hi there
i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works
fine but for some reason it does not run the jsp examples in the local host
or any
Hi there
i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works
fine but for some reason it does not run the jsp examples in the local host
or any other jsp pages i created, even though it runs the servlets ok. i get
the error shown at the end of this mail. But the strange
why are u using mod_jserv?
- Original Message -
From:
Gregory Guthrie
To: [EMAIL PROTECTED]
Sent: Sunday, July 08, 2001 7:17 PM
Subject: Tomcat + Apache on NT
It is not clear (to me) that I have to manually start both
Tomcat andApache servers on NT (Win2K
At 10:58 PM 07/08/2001 +0100, Vinay Menon wrote:
why are u using mod_jserv?
I am not; but the Tomcat/Apache documentation used this
terminology. I use mod_jk.dl.
As far as I see much of the Tomcat documentation is out of data/sync, it
talks about Jserv, and other places references Jserv actions,
Tomcat does support SSL, but you will have to recompile it from source,
after downloading the JSSE jars from Sun.
If the JSSE jars are in your classpath, (i put mine in
$JAVA_HOME/jre/lib/ext/) then tomcat will automatically build with SSL
support.
Once you have an SSL-enabled build, you
Hi there
i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works
fine but for some reason it does not run the jsp examples in the local host
or any other jsp pages i created, even though it runs the servlets ok. i get
the error shown below
A Servlet Exception Has Occurred
Problem confirmed...
Thread.sleep is buggy in Win2000 Advanced server. That´s what is causing the
sessions not to time out, because the monitor thread never comes back from
its Thread.sleep.
The workaround is to check all the sessions when someones logs in. Not very
good, but thats the only
I'm not sure if ResourceBundle is what you'll want. So here are a few
more things to look at, just in case.
java.util.Properties has a load method that can take in an InputStream
javax.servlet.ServletContext has a getResouceAsStream method
which will get you the properties file ( from web
I tested Thread.sleep in a simple Java standalone program and it worked on
Win2000 Advanced Server.
Something in tomcat makes Thread.sleep not work properly. I have no clue
what could cause that. What I can say is: Thread.sleep from
StandardManager.java is not being wake by the JVM. Sleeps
I am running Tomcat 4.0b5 in standalone mode on a Sun
Solaris 8 system, running the latest patches and the
currest Sun Java 1.3.1. Tomcat starts up ok, and will
run for the better part of a day of testing, however
the next morning, when I get up, the system is down
again. I have the following
I'm installing a tomcat container from source on redhat 7.
I installed Sun JDK 1.3.1.
I installed the XML Parser and ANT. (Ant built with no errors.)
I installed the SSL extension classes.
I built and installed the servlet API. (Again, no errors.)
The jdk/bin is in $PATH
When I come to run the
The attached mail message has been rejected for the following reason:
Norman Virus Control found one or more infected files.
Additional Information:
Norman Virus Control could not scan a particular file. File type was recognized, but
it contains damaged or illegal data structures.
Please
On Mon, 9 Jul 2001 11:49:31 +1000 , you wrote:
Have you include ant.jar, tools.jar, jaxp.jar, parser.jar, jsse.jar
and servlet.jar in your classpath?
Dave
I'm installing a tomcat container from source on redhat 7.
I installed Sun JDK 1.3.1.
I installed the XML Parser and ANT. (Ant built with
Tomcat can work as an NT service and doesn't die when logging off when using
JDK1.3.1 and using the -Xrs switch.
I checked my tomcat running as a service and it definately had the problem
of dying when logging off.
Then I change the line in my wrapper.properties to have the -Xrs switch like
I put the XML and SSL jars in a directory of the JDK. I think it was /ext.
If I read the doco correctly the compiler will look there before it checks
the CLASSPATH.
I was pretty boggled at that stage so I could have easily missed one. I'll
check it out tonight.
Thanks.
Dave Patterson.
Hi suresh
To make your pages with HTTPS protocol you should first have a server
certificate from some digital certificate vendors like verisign, I hope you
must have set up this one?
To do the redirection in Apache, you have to first set up the certificate
into the apache server, please browse
12WOMEN'S HEALTH NEWSLETTER
Living Your Life To The Fullest
Do You Take Your Sexual Health Seriously?12
When sexual health no longer responds at peak level, the negative dysfunction
impacts other areas of life. You lose
MAIL ESSENTIALS SENDER NOTIFICATION
The following message:
TO: [EMAIL PROTECTED]
FROM:[EMAIL PROTECTED]
DATE: Sat, 7 Jul 2001 19:25:51
Subject: New Discovery for Women
has been quarantined by Mail Essentials for the following reason(s):
Body contains word(s)/phrase(s)
35 matches
Mail list logo