>You might look at the org.apache.catalina.startup.Embedded class, which
>lets you
>bypasses the global configuration files and do things yourself.
Ahhh, I hadn't looked at org.apache.catalina.startup.Embedded, this should
work perfectly for what I need.
Thanks for everyone's patience and help
Daniel Ritchey wrote:
> I think you missed my point ...
> I want to make project that uses the catalina core, similar to how Tomcat is
> a project that uses the catalina core. Meaning I want to use the catalina
> stuff in my project to run servlets. My project is not a webapp that gets
> put in
I think you missed my point ...
I want to make project that uses the catalina core, similar to how Tomcat is
a project that uses the catalina core. Meaning I want to use the catalina
stuff in my project to run servlets. My project is not a webapp that gets
put in the webapp dir as a war file,
I think what you say you want to do is going to violate the spec for what
a WAR file is supposed to be for. Your web.xml is supposed to be packaged
with your WAR ("*.war") file: your WAR file is supposed to contain not
only your app, but also the content and resources your app needs, this
includes
>You've got it basically right.
>
>The global configuration files are all assumed to be in
>"%CATALINA_HOME%/conf", and the global web.xml in particular is read in
>org.apache.catalina.startup.ContextConfig.
>
>Do you need to do something in particular that you can't fix just by
>setting
>CAT
Daniel Ritchey wrote:
>
> Another question...
> is the base web.xml even used or necessary, what purpose does it serve?
>
The "base" web.xml (i.e. $CATALINA_HOME/conf/web.xml) is read, for each web
app, prior to the application's own web.xml file. As such, this file
establishes default values (
Daniel Ritchey wrote:
> I think I got it figured out ...
>
> do you do something like this...
>
> configClass="foo.bar.MyContextConfig"/>
>
> Then write a ContextConfig that loads the Constants from a properties file
> or something...
>
> Does this sound right?
>
> Thanks ...
>
You've got it ba
>Hi,
>
> You can add these lines to Tomcat conf/server.xml:
>
>
>
> The directory path/YourApp have to contains a subdirectory WEB-INF.
>
Let me clarify a bit, I was wondering how it is you change the location of
the base web.xml found in the %TOMCAT_HOME%/conf directory. Last night I
Hi,
You can add these lines to Tomcat conf/server.xml:
The directory path/YourApp have to contains a subdirectory WEB-INF.
:-)
- Original Message -
From: "Daniel Ritchey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 07, 2000 4:34 AM
Subject: TC4-m4
I think I got it figured out ...
do you do something like this...
Then write a ContextConfig that loads the Constants from a properties file
or something...
Does this sound right?
Thanks ...
>When and what loads the global web.xml located at
>%CATALINA_HOME%/conf/web.xml.
>
>I need to know
10 matches
Mail list logo