File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes errors while using html:form tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "errors while using html:form tag" Watch "errors while using html:form tag" New topic
Author

errors while using html:form tag

Gali Naresh
Greenhorn

Joined: Jun 16, 2005
Posts: 4
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

Joined: Apr 14, 2005
Posts: 354
can't help you if you don't post the codes that caused this error...the 'address.jsp'.


-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

The trace says you are using the EL tags but you say you are not. I think that may be the source of confusion.


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: errors while using html:form tag