In an effort to share my findings...

I finally got the examples and my product code to work.  I had to get the
xalan 2.3.1 release and put the xml-apis.jar in the Tomcat 4 lib directory.
I think this is probably a bad thing but I could find no other way to make
it work.  If I put the xml-apis.jar file in the standard-examples
WEB-INF/lib directory, it did not help.  Jasper needs something out the
xml-apis.jar file just to get the jsp's compiled.  Jasper in Tomcat 4 does
not know to look in the applications lib directory (probably by design).

I may be wrong on some of this, but that is my best understanding at this
point.

Thanks
Steve S.

 -----Original Message-----
From:   Shawn Bayern [mailto:[EMAIL PROTECTED]] 
Sent:   Thursday, March 28, 2002 8:45 PM
To:     Tag Libraries Users List
Subject:        Re: standard tag library XML example failures

On Wed, 27 Mar 2002, Steve Spradlin wrote:

> The product I work with currently uses the xsl taglib available through
> Jakarta.  We are very interested in converting to the new standard tag
> library.  I downloaded the beta 1 standard tag library in order to review
> its capabilities.  It looks to me like we could really use it for style
> sheets and other things.  However, the XML examples are not working for me
> in the standard-examples.  I tried getting the latest jaxp and then xalan
> hoping my problem would be solved with no luck.  I have attached the
> exception below.  Has anyone experienced this?

Ha - I have.  :-)  I dealt with lots of different configurations of JARs
in trying to determine the most timely, compatible, and convenient set of
libraries to use for the "out of the box" standard-examples.war.  (It's
been a moving target for a while, so I can empathize with it not being
easy to track.)

The short answer, since I'm at JavaOne now and don't have time to suggest
specific URLs and versions, is to use the set of JARs distributed in
standard-examples.war (under WEB-INF/lib).  This is the prepackaged
version of our JSTL "example" pages, and it's distributed with the RI from
jakarta.apache.org/taglibs.

Hope that helps for the short term.  If you remind me when I have more
time, I can describe the histories and principles associated with the
distributions of the various XML parsing and transformation libraries.  
But it's probably just as well that I don't (since it's not particularly
interesting).  :-)

-- 
Shawn Bayern
Author, "JSP Standard Tag Library"  http://www.jstlbook.com
(coming this summer from Manning Publications)


--
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