Hi,
I am using tomcat 4.1.7, jdk 1.4, redhat 7.2, apache 2.0.39, mod_jk
I get this error
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 58 in the jsp file: /content/prospectform.jsp
Generated servlet error:
[javac] Compiling 1 source file
/opt/jakarta-tomcat/work/Standalone/localhost/helpdesk/content/prospectform$jsp.java:371:
include(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,java.lang.String,javax.servlet.jsp.JspWriter,boolean)
in org.apache.jasper.runtime.JspRuntimeLibrary cannot be applied to
(javax.servlet.http.HttpServletRequest,javax.servlet.ServletResponse,java.lang.String,javax.servlet.jsp.JspWriter,boolean)
JspRuntimeLibrary.include(request, response,
"/prospectmenu.jsp", out, true);
The part of the jsp code where the login:present tag is:
<logic:present name="prospectForm" property="prospectid">
<jsp:include page="/prospectmenu.jsp" flush="true"/>
</logic:present>
The code generated is
/* ---- logic:present ---- */
{
org.apache.struts.taglib.logic.PresentTag _jspx_th_logic_present_0
= (org.apache.struts.taglib.logic.PresentTag)
_jspx_tagPool_logic_present_property_name.get(org.apache.struts.taglib.logic.PresentTag.class);
_jspx_th_logic_present_0.setPageContext(pageContext);
_jspx_th_logic_present_0.setParent(_jspx_th_html_form_0);
_jspx_th_logic_present_0.setName("prospectForm");
_jspx_th_logic_present_0.setProperty("prospectid");
int _jspx_eval_logic_present_0 =
_jspx_th_logic_present_0.doStartTag();
if (_jspx_eval_logic_present_0 !=
javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\n\t\t\t\t\t");
JspRuntimeLibrary.include(request, response,
"/prospectmenu.jsp", out, true);
out.write("\n\t\t\t\t");
int evalDoAfterBody = _jspx_th_logic_present_0.doAfterBody();
if (evalDoAfterBody !=
javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_logic_present_0.doEndTag() ==
javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_logic_present_property_name.reuse(_jspx_th_logic_present_0);
}
Any ideas?
Thanks.
--
Brian Millett
Enterprise Consulting Group "Shifts in paradigms
(314) 205-9030 often cause nose bleeds."
[EMAIL PROTECTED] Greg Glenn
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>