RE: ServletContextResourceLocator is missing

From: Scott Finnerty (scot..odefuey.com)
Date: Sun Apr 20 2003 - 09:52:56 EDT

  • Next message: Andrus Adamchik: "Planned Beta 2"

    Thanks. I noticed that I botched the merge - missed some imports. Sorry.

    I'll work on documentation.

    Scott

    -----Original Message-----
    From: Andrus Adamchik [mailto:andru..bjectstyle.org]
    Sent: Saturday, April 19, 2003 11:51 PM
    To: cayenne-deve..bjectstyle.org
    Subject: Re: ServletContextResourceLocator is missing

    Just applied the patch. Of course it did not make it to the earlier
    release.

    Now we need a documentation patch ;)

    Andrus

    On Saturday, April 19, 2003, at 10:49 PM, Scott Finnerty wrote:

    > Catching up. Attached is a patch that brings
    > WebApplicationResourceLocator
    > in line with my original functionality - namely supporting additional
    > paths
    > under /WEB-INF. Without this patch, the bit in
    > BasicServletConfiguration
    > that allows for a path to be specified as a context parameter won't
    > work for
    > context relative paths.
    >
    >
    >
    > -----Original Message-----
    > From: Andrus Adamchik [mailto:andru..bjectstyle.org]
    > Sent: Saturday, April 19, 2003 7:03 PM
    > To: cayenne-deve..bjectstyle.org
    > Subject: Re: ServletContextResourceLocator is missing
    >
    >
    >
    > On Saturday, April 19, 2003, at 03:32 PM, Andrus Adamchik wrote:
    >
    >> Being eager to release the Beta, I decided to write my own
    >> ServletContextResourceLocator. It is called WebappResourceLocator.This
    >> allowed me to apply all the patches. Let me know if anything is
    >> missing.
    >>
    >> Also I followed the suggestion by Scott to rename ServletConfiguration
    >> (new class is called WebappCayenneListener). ServletConfiguration
    >> inherits from it with a deprecation note.
    >>
    >> This is all in CVS, though untested yet. I will do the testing and
    >> documentation update later today.
    >>
    >> Andrus
    >
    > Renamed this one more time. The final name is WebApplicationListener. I
    > did some more refactoring (namely moved "static DataContext
    > getDefaultContext" to BasicServletConfiguration). Good news that
    > everything now works very well and is easy to configure. I tested our
    > Struts and Tapestry tutorials - works like a charm.
    >
    > Thanks Scott for the patches and for steering the whole web
    > configuration piece in the right direction.
    >
    > Will start working on the release...
    >
    > Andrus
    >
    > <WebApplicationResourceLocator.patch>



    This archive was generated by hypermail 2.0.0 : Sun Apr 20 2003 - 09:58:37 EDT