Hi,
is there away to have a jsp or something run some code on startup or to
have
it cache some data results so that I dont have to keep on going to the
database each time the page is loaded.
The best place for this is usually a ServletContextListener.
Alternatives including a static initializer
Hey Mark thanks.
I believe the content is going to be 100% static. So what would the
syntax look like for adding the webdav servlet to the webapp?
Appreciate it,
Darren
Mark Thomas wrote:
From: Darren Grant [mailto:[EMAIL PROTECTED]
Sent: Friday, October 22, 2004 6:08 AM
To: [EMAIL
http://www.jfree.org/jfreechart/
I just used this to create some very professional looking charts for my
company. It does everything. It is free and very easy to use in
servlets, applets, jsp and applications. Can even do real-time charts. I
will think twice about creating spread sheet type
--On Thursday, October 21, 2004 08:41:03 PM -0400 Ben Souther
[EMAIL PROTECTED] wrote:
2 things:
1.) Tomcat doesn't use your system's classpath variable. It's got it's
own class loaders.
2.) Starting with Tomcat 5.5 you won't need to install a full jdk as
this version ships with it's
We're looking at moving some of our apps from WebLogic to Tomcat. In
WebLogic, there's a pretty low ratio of apps to managed server--many of
our applications have their own managed server (each managed server is a
separate JVM). Things are setup that way to allow our support teams
more freedom
I have a webapp packaged as a war file. In the war file's /META-INF
directory, I have a context.xml file. If I drop this war file into
/webapps when autoDeploy is set to true for the host, the context.xml
file is correctly moved to $CATALINA_HOME/conf/Catalina/localhost/*.xml
and my app
I have been running tomcat behind Apache 2 and the jk2 binary for RedHat. We noticed
in the apache access log that we were sending a lot of 500 responses back to
requests for a supported URL. When we stopped apache and sent all of the
requests directly to the Coyote HTTP connector, all
Hi all --
I just installed Tomcat, and created a servlet, and installed it. It worked.
I then added an init() method, which also worked. Finally, I changed my init
method to throw an UnavailableException if a configuration variable wasn't
specified.
Now, obviously, I get an The requested
On Fri, Oct 22, 2004 at 04:18:30PM -0500, Robert Rasmussen wrote:
: If I take the same war file and try to deploy it using the manager
: webapp, the context.xml file in META-INF is ignored. The manager does
: expand the war correctly in the webapps directory, and I can manually
: move the
On Fri, Oct 22, 2004 at 04:53:47PM -0400, Kyle Adams wrote:
: In looking at Tomcat, one of the questions I've come across is: how
: many apps should run in a Tomcat instance?
That depends on your site, etc. Follow basic guidelines for app
grouping, the same as it seems you're already doing.
On Fri, Oct 22, 2004 at 06:44:07PM -0400, [EMAIL PROTECTED] wrote:
: Finally, I changed my init
: method to throw an UnavailableException if a configuration variable wasn't
: specified.
:Now, obviously, I get an The requested resource (Servlet hemlock is not
: available) is not available
This message was not delivered due to the following reason:
Your message could not be delivered because the destination server was
not reachable within the allowed queue period. The amount of time
a message is queued before it is returned depends on local configura-
tion parameters.
Most likely
I found a source code from
http://www.vsj.co.uk/articles/display.asp?id=319
tried it with the jakarta-tomcat-5.0.28-embed.tar.gz
and the /manager sample (after copying it over to this
embed version directory) that comes with Tomcat does
not work.
1. It seems it defaults to using JAASRealm.
101 - 113 of 113 matches
Mail list logo