I added the JSTL and Struts-el libraries to my application. In particular, I
added c.tld, fmt.tld, struts-bean-el.tld, struts-html-el.tld, and
struts-logic-el.tld to my Web-Inf directory, added jakarta-oro.jar,
jstl.jar, standard.jar, and struts-el.jar to my Web-Inf/lib directory, and
updated web.xml to include <taglib> directives describing the five new
taglibs.

Then, in the first page of my app, I added:

<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>

so I could use the core directives from the JSTL. Then I changed a
<logic:iterate...> tag to <c:forEach...>, and changed several
<bean:write...> tags to <c:out...> (in the process eliminating a couple of
<bean:define...>.

When I run the app, I get this error message:

Servlet failed with IOException
java.io.IOException: javax.servlet.jsp.JspException: The taglib validator
rejected the page: "org.xml.sax.SAXParseException: The value of attribute
"language" must begin with either a single or double quote character., "
        at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:124)
        at
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:255)

Etc, etc.

What the heck is this trying to tell me? The word "language" is NOWHERE in
the page, the web.xml, or any of the taglibs, new or old. (Actually it's in
the first line in the page - <%@ page language="java" %> - which I did not
touch.)

--
Tim Slattery
[EMAIL PROTECTED]


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

Reply via email to