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 struts tag problem ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


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

struts tag problem ?

Ravinder Rana
Greenhorn

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...

cheers,
jan
Ravinder Rana
Greenhorn

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:

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

Did you do that?


Merrill
Consultant, Sima Solutions
Ravinder Rana
Greenhorn

Joined: May 10, 2006
Posts: 29
Thanksalot Merrill Higginson,I got it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts tag problem ?