• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

errors while using html:form tag

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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))
^
 
Ranch Hand
Posts: 354
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can't help you if you don't post the codes that caused this error...the 'address.jsp'.
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
They worship nothing. They say it's because nothing is worth fighting for. Like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic