This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes No tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "No tag "form" defined in tag library imported with prefix "html"" Watch "No tag "form" defined in tag library imported with prefix "html"" New topic
Author

No tag "form" defined in tag library imported with prefix "html"

kranthi
Greenhorn

Joined: Dec 17, 2008
Posts: 10
Hi,

I got the following error when I am trying to run my struts application.

ERROR::

/********************************

org.apache.jasper.JasperException: /registration.jsp(7,2) No tag "form" defined in tag library imported with prefix "html"
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1231)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1467)
org.apache.jasper.compiler.Parser.parse(Parser.java:138)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

************************************/

The following one is the jsp page.


Register.jsp::


<%@ page language="Java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

<html>
<body>
<html:form action="register">
<bean:message key="label.firstname"/>
<html:text property="firstName"></html:text>
<html:errors property="firstName"></html:errors>
<br>
<bean:message key="label.lastName" />
<html:text property="lastName"></html:text>
<html:errors property="lastName"></html:errors>
<br>
<bean:message key="label.username"/>
<html:text property="userName"></html:text>
<html:errors property="userName"></html:errors>
<br>
<bean:message key="label.password"/>
<html:text property="password"></html:text>
<html:errors property="password"></html:errors>
<br>
<bean:message key="label.repassword"/>
<html:text property="repassword"></html:text>
<html:errors property="repassword"></html:errors>
<html:submit />
<html:reset/>
</html:form>
</body>
</html>


plaese give me solution to this problem.

Thanking you.


Regards<br />kranthi
kranthi
Greenhorn

Joined: Dec 17, 2008
Posts: 10
Hi,

please solve my problem.

Thanks in advance
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63053
    
  69

"kranthi", having ignored multiple warnings to change your display name to comply with JavaRanch requirements, your account has been closed. Should you wish for your account to be re-instated, you must contact me via email.

bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: No tag "form" defined in tag library imported with prefix "html"
 
jQuery in Action, 3rd edition