• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

errors while using html:form tag

 
Gali Naresh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i wrote a jsp using struts lib. i used struts-html.tld to use html:form tag

for this iam getting the following errors

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 4 in the jsp file: /jsp/address.jsp
Generated servlet error:
C:\java\eside\jboss-3.2.5\server\default\work\jboss.web\localhost\address\org\apache\jsp\jsp\address_jsp.java:110: _jspx_meth_html_form_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.jsp.address_jsp cannot be applied to (org.apache.strutsel.taglib.html.ELHtmlTag,javax.servlet.jsp.PageContext)
if (_jspx_meth_html_form_0(_jspx_th_html_html_0, _jspx_page_context))
^


An error occurred at line: 10 in the jsp file: /jsp/address.jsp
Generated servlet error:
C:\java\eside\jboss-3.2.5\server\default\work\jboss.web\localhost\address\org\apache\jsp\jsp\address_jsp.java:149: _jspx_meth_html_errors_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.jsp.address_jsp cannot be applied to (org.apache.strutsel.taglib.html.ELFormTag,javax.servlet.jsp.PageContext)
if (_jspx_meth_html_errors_0(_jspx_th_html_form_0, _jspx_page_context))
^
 
alan do
Ranch Hand
Posts: 354
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can't help you if you don't post the codes that caused this error...the 'address.jsp'.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The trace says you are using the EL tags but you say you are not. I think that may be the source of confusion.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic