You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jeffrey Beck <je...@hrra.net> on 2003/11/14 19:08:29 UTC

Using JSTL with struts and weblogic - how ?

hello everyone...is there some secret to getting struts 1.1 to work with
weblogic server and JSTL ? Probably not. Can someone please help?

Thanks,

Jeff

I'm running weblogic 7.0 SP4, with jdk131_08

I unpacked the struts-blank.war file from the struts 1.1 binary distribution
and copied it to a new directory i created under my webapps directory,
restarted the server, and "Welcome.do" worked.

I added the line:

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

to the Welcome.jsp file as the first line.

I downloaded the jakarta-taglibs-standard-1.1.0-B1 distribution and copied
everything in the lib directory to my WEB-INF/lib directory. Then I copied
the tld directory and its contents to my WEB-INF directory.

The error I'm getting is:

Parsing of JSP File '/pages/Welcome.jsp' failed:

----------------------------------------------------------------------------
----

/pages/Welcome.jsp(-1): cannot load TLD:
weblogic.xml.dom.ChildCountException: missing child tagclass in tag
probably occurred due to an error in /pages/Welcome.jsp line -1:


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Using JSTL with struts and weblogic - how ?

Posted by Kris Schneider <kr...@dotech.com>.
You want JSTL 1.0, not 1.1. JSTL 1.1 will be for JSP 2.0 containers. Also, use
the following directive:

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

Quoting Jeffrey Beck <je...@hrra.net>:

> hello everyone...is there some secret to getting struts 1.1 to work with
> weblogic server and JSTL ? Probably not. Can someone please help?
> 
> Thanks,
> 
> Jeff
> 
> I'm running weblogic 7.0 SP4, with jdk131_08
> 
> I unpacked the struts-blank.war file from the struts 1.1 binary
> distribution
> and copied it to a new directory i created under my webapps directory,
> restarted the server, and "Welcome.do" worked.
> 
> I added the line:
> 
> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
> 
> to the Welcome.jsp file as the first line.
> 
> I downloaded the jakarta-taglibs-standard-1.1.0-B1 distribution and copied
> everything in the lib directory to my WEB-INF/lib directory. Then I copied
> the tld directory and its contents to my WEB-INF directory.
> 
> The error I'm getting is:
> 
> Parsing of JSP File '/pages/Welcome.jsp' failed:
> 
> ----------------------------------------------------------------------------
> ----
> 
> /pages/Welcome.jsp(-1): cannot load TLD:
> weblogic.xml.dom.ChildCountException: missing child tagclass in tag
> probably occurred due to an error in /pages/Welcome.jsp line -1:

-- 
Kris Schneider <ma...@dotech.com>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org