You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ingo Bruell <ib...@gmx.de> on 2001/02/06 21:55:32 UTC

Re[2]: cocoon.properties

Hi Berin,

BL> Ingo Bruell wrote:
>> 
>> Hi cocoon-users,
>> 
>>    how the URL have to be to give an abolute path to cocoon.properties
>> on a Windows machine ?

BL> If you are using a Servlet 2.2 compliant servlet engine (or higher), then
BL> you don't.  You use a relative URL from the base of the context.

I  try  to use Jetty and it is Servlet 2.2 compliant. How i could find
out the base of the context ?

so long


Ingo Bruell

---
<ib...@gmx.de>
<In...@epost.de>
<ICQ# 40377720>
Oldenburg    PGP-Fingerprint: CB01 AE12 B359 87C4 BF1C  953C 8FE7 C648 169E E5FC
Germany      PGP-Public-Key available at pgpkeys.mit.edu



Re: cocoon.properties

Posted by Berin Loritsch <bl...@apache.org>.
Ingo Bruell wrote:
> 
> Hi Berin,
> 
> BL> Ingo Bruell wrote:
> >>
> >> Hi cocoon-users,
> >>
> >>    how the URL have to be to give an abolute path to cocoon.properties
> >> on a Windows machine ?
> 
> BL> If you are using a Servlet 2.2 compliant servlet engine (or higher), then
> BL> you don't.  You use a relative URL from the base of the context.
> 
> I  try  to use Jetty and it is Servlet 2.2 compliant. How i could find
> out the base of the context ?
> 

Well if all your templates are in

C:\jetty\webapps\default\

then that is your base