I've just checked in an initial port of ${Server}Config for 4.x into j-t-c.
The problems I'm having at the moment are:
(a) While Container fires the start-event at the end, Server fires it at the
beginning.  As a result, I can't really have this as a Server Listener as I
would like.
(b) For a context defined in the server.xml, there seems to be no public way
to determine the document base as an absolute path.  This may just be my
lack of familiarity with Catalina however.  On a related note, I wasn't able
to find any way to determine if a Context even has a document base (as
opposed to a war file).


----- Original Message -----
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: "Tomcat Developers List" <[EMAIL PROTECTED]>
Sent: Sunday, December 02, 2001 4:17 PM
Subject: Re: AJP Todo


>
>
> On Sat, 1 Dec 2001, Bill Barker wrote:
>
> > Date: Sat, 1 Dec 2001 17:17:31 -0800
> > From: Bill Barker <[EMAIL PROTECTED]>
> > Reply-To: Tomcat Developers List <[EMAIL PROTECTED]>
> > To: Tomcat Developers List <[EMAIL PROTECTED]>
> > Subject: Re: AJP Todo
> >
> > I have no objection to help porting ${Server}Config to 4.x, but I'm
still a
> > Catalina novice.  The 3.3 API is more command and control, so it is
easier
> > to get to the information.
>
> +0 on "officially" supporting AJP in tomcat 4.x, as has been discussed
> (i.e. I favor the idea, but cannot help).
>
> >  It will take me a little time to find out how to
> > get the servlet-mappings in Catalina.
>
> Nearly all of the configuration-related information related to a web
> application is available via "getXxx" or "findXxx" methods on the
> org.apache.catalina.context.Context interface.  For servlet mappings in
> particular, you can look up the mapping for a particular pattern with
> findServletMapping(), or get all the defined mapping patterns with
> findServletMappings().
>
> There are similar methods available to access all the other stuff that was
> configured in web.xml (or, in some cases, from server.xml).
>
> Craig
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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

Reply via email to