struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suzette Daniel <sdan...@waca.com>
Subject RE: IPlanet 6 SP2 and Struts 1.1 with templates TLD
Date Wed, 23 Jul 2003 12:26:15 GMT
I think this is a mapping error. Did you map "/tags/struts-template" to
"/WEB-INF/struts-template.tld" in your web.xml? If you didn't then your
inclide won't work.

It should be:
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>

Suzette

-----Original Message-----
From: Philippe Van Der Gucht [mailto:philippe.vandergucht@uniway.be] 
Sent: Wednesday, July 23, 2003 5:34 AM
To: struts-user@jakarta.apache.org
Subject: IPlanet 6 SP2 and Struts 1.1 with templates TLD


Hello,

Another unlucky one trying to get it to work on IPlanet...

I'm using the templates taglib and IPlanet throws an exception from the JSP
page:

root cause: javax.servlet.jsp.JspException:
org.apache.struts.taglib.template.
InsertTag
         at
org.apache.struts.taglib.template.PutTag.getAncestor(PutTag.java:288)
         at
org.apache.struts.taglib.template.PutTag.doEndTag(PutTag.java:208)
         at _jsps._jsp._list_jsp._jspService(_list_jsp.java:103)
         at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer
vlet.java:247)

etc.

When I look at the source the jsp compiler (_list_jsp.java) generated I see
it 
throws an exception on this line:

  if (_jspx_th_template_put_0.doEndTag() == Tag.SKIP_PAGE)

Anybody know the answer?

I hereby add the jsp page causing trouble:

---8<---
<%@ taglib uri='/tags/struts-template' prefix='template' %>


<template:insert template='/jsp/siteTemplate.jsp'>
   <template:put name='menu' content='/jsp/menu.jsp' />
   <template:put name='content' content='/jsp/listContent.jsp'/>
</template:insert>
---8<---


Greetings,
Philippe.


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

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


Mime
View raw message