Hi, This might be of interest to anyone working with JSTL x tags and JSP 2.0 and Servlet spec 2.4.
I am writing an application that has to generate XML and post it to another web app. To generate the XML I use Dom4J and this worked fine. Next I wanted to display some XML that the other app returned for this I use JSTL x tags and this did not work well. The problem was that Dom4J uses Jaxen and SaxPath as does the version of JSTL that I was using. These could not work together and I had 2 options build a version of Dom4J without Jaxen and SaxPath or upgrade to the latest version of the JSTL which no longer uses Jaxen and SaxPath (it uses Xalan) but requires JSP 2.0. I decided to use the latest version of the JSTL as I am already using Tomcat 5.x. This worked fine at first until I wanted to use an EL value in a Struts HTML Form tag. I have used these before and was using the EL version of the Struts HTML tags. However when I went to the JSP page I got this error: According to TLD or attribute directive in tag file, attribute XXXX does not accept any expressions It turns out that because I am using JSP 2.0 and the container evaluates the EL I did not need to use EL version of Struts HTML tags. I switched to the non EL version and everything worked fine. It took me almost a day to sort these problems out and I hope this helps out anyone who is trying to do the same thing. Regards Jim. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]