• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

unknown tag html:form

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to use the html:form tag to create a form in a web project and get this warning. Then when I go look at the deployed page in a browser all the content is gone. The content reappears when i remove the html:form tag. The weird thing about this is that in another jsp page, the taglib declaration at the top of the page is exactly as in this page, but when the tag <html:errors/> is used there is no warning.
 
Ranch Hand
Posts: 344
Oracle Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A good start would be to show us the code of the page that is not working.
 
Benjamin Pope
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the code for the jsp page:

 
Koen Aerts
Ranch Hand
Posts: 344
Oracle Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure if that is causing the problem, but I notice the table tags aren't nested correctly inside the form:

instead of

 
Benjamin Pope
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My error I believe was in the configuration of the action in struts-config.xml. I did not declare the form-bean. Once I did that, I got it working. The reason I was getting the warning because the struts jar was not in web-inf until I built the project, so I am able to ignore the warning and it all works fine. Thanks for the help anyway.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!