• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

struts tag problem ?

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
dont put the form outside of the body...

cheers,
jan
 
Ravinder Rana
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jan thanks for reply, But i am still got the same error.
Please tell me the solution.I am a bit cofused
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ravinder Rana
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanksalot Merrill Higginson,I got it.
 
BWA HA HA HA HA HA HA! Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic