Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unknown tag and Invalid location errors?

 
Arjun Reddy
Ranch Hand
Posts: 629
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am getting Unknown Tag(html:link) and Invalid location of tag(form) errors form the below code. Can someone tell me why this is happening?



Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to post Struts questions in the Struts forum. I have moved this post there for you.
 
Arjun Reddy
Ranch Hand
Posts: 629
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for moving it.
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your code


Are you sure this mapping of "html" prefix correct, check the uri "/WEB-INF/lib/struts-html.tld" maps to struts-html.tld in web.xml.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AFAIK real HTML won't let you put a form tag between a </td> and a </tr>, because it would be meaningless--it's in a place where there shouldn't be any content.

Not sure about the html:link thing--is your TLD really in your /WEB-INF/lib folder? I really don't think it should be, even if it's not causing the error--/WEB-INF/lib is for libs, which a TLD isn't.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic