Interertingly enough...I just spent a week on this problem...I should at
least let you suffer for a day or 2....but I'm a nice guy:) The ROOT
context is used as the default - just use that and define a context
within to define where to put your images.

> -----Original Message-----
> From: Christoph Rooms [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 16, 2001 6:27 PM
> To: [EMAIL PROTECTED]
> Subject: default context
> 
> 
> Hi,
> 
> Under my /webapps dir I have a few contexts. I want to define 1 as the
> default one. (So I don't have to define a context in the 
> url), So if no
> context is defined in the url, I will go to this url ...
> 
> this is what I putted in my server.xml
> 
> <Context path=" " docBase="webapps/rnb" crossContext="true" debug="0"
> reloadable="true"/>
> </ContextManager>
> 
> This works BUT now he won't load my images that are in the directory
> "images".
> 
> When I go to http://www.xxx.com/images/image.gif he's gonna launch an
> exception ...
> 
> anyone ?
> 
> greetz, Christoph
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> 

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

Reply via email to