This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Struts and the fly likes struts tag problem ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts tag problem ?" Watch "struts tag problem ?" New topic

struts tag problem ?

Ravinder Rana

Joined: May 10, 2006
Posts: 29
hi guys,
I got an exception like...

SEVERE: ServletException in '/WEB-INF/tiles/AddEmployee.jsp': /WEB-INF/tiles/AddEmployee.jsp(213,0) The end tag "</html:form" is unbalanced
org.apache.jasper.JasperException: /WEB-INF/tiles/AddEmployee.jsp(213,0) The end tag "</html:form" is unbalanced

My jsp code

And please tell me my <himl:select> is ok,please correct me if i am wrong.

Thanks in advance.
Jan Groth
Ranch Hand

Joined: Feb 03, 2004
Posts: 456
dont put the form outside of the body...

Ravinder Rana

Joined: May 10, 2006
Posts: 29
Hi Jan thanks for reply, But i am still got the same error.
Please tell me the solution.I am a bit cofused
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
You must change the JSP so both the beginning and ending html:form tag are inside the beginning and ending body tag like this:

<html:form action="/forms/">
... the rest of the page

Did you do that?

Consultant, Sima Solutions
Ravinder Rana

Joined: May 10, 2006
Posts: 29
Thanksalot Merrill Higginson,I got it.
rocket mass heater kickstarter
subject: struts tag problem ?