• Post Reply Bookmark Topic Watch Topic
  • New Topic

unbalancing tag in JSF  RSS feed

 
Jitin Hirani
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

I am encountering this error-

"The end tag "</h:form" is unbalanced"

I have checked my form & all the tags are at the proper position.

please help.

Thanks in advance.
 
Richard Green
Ranch Hand
Posts: 536
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
post your jsf code.
 
Chirstopher Webster
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sure this one's solved but if anyone else hits this like I did and can't remember what the error means, if ANY tag is left open you'll get this message.

I was getting:

Caused by: org.apache.jasper.JasperException: /JSP/accountsetup.jsp(191,9) The end tag "</h:form" is unbalanced

but it was a missing "/" at the end of an h:inputText tag that was causing the issue.

It's confusing because it kinda points you at the h:form tag but that's not necessarily where the issue is.

Slack
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!