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 html, jpgs, properties et al.

That WAR file unpacks into a kind of document root that must have a
standards-based layout (I believe it's either the servlet API standard 
or it's the J2EE, I'm not sure). If all you know is IIS or Apache, this
is going to be a bit confusing.

The idea of a WAR file is that it more closely solves problems related to  
how business organizations develop and deploy content, including how ISPs
deploy content for customers.

In the end, it's supposed to make things easier and more secure than
current web-server-specific techniques for deploying content. These are
the goals, at least.

Hope this helps.  

On Tue, 7 Nov 2000, Daniel Ritchey wrote:

> I was just doing some experimenting with some stuff i had developed and was 
> merging my stuff with the catalina stuff, among other things.
> 
> I would perfer to have a directory structure like
> 
> myproject
>   +--conf
>        +--catalina (web.xml, server.xml, etc.)
>        |
>        +--myproject
>        |
>        +--otherstuff
> 
> So back to the original question, how do I specify where the base web.xml 
> file should be loaded from.
> 
> >You've got it basically right.
> 
> What would be completely right?
> 
> I have started work on what I think will work (Making my own 
> startup.ContextConfig, startup.Constants, and startup.Catalina classes that 
> are dependent on properties files instead of hardcoded locations (for 
> example say I want the conf dir. to be called config instead).  Property 
> files isn't the greatest of solutions but I think it will work and add bit 
> more flexibility.
> 
> I still have alot to figure out about how catalina is setup, so this all 
> might be unecessary.
> 
> Thanks,
> 
> Daniel Ritchey
> -------------------------
> [EMAIL PROTECTED]
> http://ritchey.dyndns.org
> AIM: CaptainSlapHappy
> 
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> Share information about yourself, create your own public profile at 
> http://profiles.msn.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
Nicolaus Bauman
Software Engineer
Simplexity Systems



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to