RE: upgrade from 1.07 to 1.1RC2 breaks jstl

From: Cris Daniluk (cris.danilu..laraview.com)
Date: Tue Nov 16 2004 - 21:47:30 EST

  • Next message: Michal Kozlowski: "RE: Getting info across databases..."

    Make sure your cayenne XML files are all in WEB-INF/classes..

    Also, re JSTL - I think my response was misleading. Much of JSTL has been
    relocated to Tomcat, but not all of it. You still need the JAR files, though
    you need to make sure you're using the right ones. JSTL-Standard-1.1 is
    required for Tomcat 5.0. You shouldn't locate anything in common/lib either
    way though - its only necessary if you want to override the default XML
    parser, which I thought you might be doing.

    I'd be concerned that you're using Tomcat 5 with a Servlet 2.3/JSP1.2
    webapp. You really should stick to Tomcat 4.1 or convert yourself to a
    2.4/2.0 webapp (which really only requires using a web.xml that is schema
    based instead of DTD based). I've had mixed luck running 2.3/1.2 webapps in
    Tomcat 5.

    Also - once you are running in a 2.4/2.0 environment, the JSTL TLDs really
    aren't required in the WEB-INF. They tend to do more harm than good in fact
    because odds are you're using the wrong ones.

    Cris

    > Cris,
    >
    > Tomcat does? Where? I've look into the common/lib/
    > server/lib dirs, but I do not see any jstl jars.
    >
    > I've moved the dom.jar out of the way. If I move the
    > jstl.jar and standard.jar out of the way, then I get an
    > error about not finding tld's etc. If I move just the
    > jstl.jar out of the way, then I get the same results as before. :-(
    >
    > I also experimented by moving the jstl/standard jars from
    > WEB-INF/lib into the common/lib. The results were the same
    > for the jstl tags as before, however, cayenne throws an
    > exception about not finding cayenne.xml.
    >
    > On Nov 15, 2004, at 8:49 PM, Cris Daniluk wrote:
    >
    > > Tomcat provides JSTL. Be sure you're not stepping on your foot by
    > > re-providing it.
    > >
    > > Also, dom.jar? That may be conflicting if that's intended to
    > > circumvent Tomcat's default XML parser.. Should go in
    > commons/lib or
    > > some such place
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Nov 16 2004 - 21:47:29 EST