Hi!
I am trying to get Tomcat 5 to work with JSP tags
I have the a page that does this:
<mytags:tag1>
<mytags:tag2/>
</mytags>
It works in Tomcat 4. It doesn't in Tomcat 5. It I take out the nested tag, tag2, and put in text the things work. Tag1 is a conditional which does SKIP_BODY if the condition is not meet, else does EVAL_BODY_INCLUDE This is an issue with all such tags in Tomcat 5.
The message is in compling the JSP page which gives an error like this (swap in real names for tag1 & tag2):
c_jsp.java:98: _jspx_meth_core_setCookie_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.c_jsp cannot be applied to (com.lemans.tags.conditional.IfRequestEqualsTag,javax.servlet.jsp.PageContext)
Appears to similar if not the same to:
But it claims the fixed it.
Any ideals?
mingus
I am trying to get Tomcat 5 to work with JSP tags
I have the a page that does this:
<mytags:tag1>
<mytags:tag2/>
</mytags>
It works in Tomcat 4. It doesn't in Tomcat 5. It I take out the nested tag, tag2, and put in text the things work. Tag1 is a conditional which does SKIP_BODY if the condition is not meet, else does EVAL_BODY_INCLUDE This is an issue with all such tags in Tomcat 5.
The message is in compling the JSP page which gives an error like this (swap in real names for tag1 & tag2):
c_jsp.java:98: _jspx_meth_core_setCookie_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.c_jsp cannot be applied to (com.lemans.tags.conditional.IfRequestEqualsTag,javax.servlet.jsp.PageContext)
Appears to similar if not the same to:
But it claims the fixed it.
Any ideals?
mingus