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 Unknown tag and Invalid location errors? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Unknown tag and Invalid location errors?" Watch "Unknown tag and Invalid location errors?" New topic
Author

Unknown tag and Invalid location errors?

Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
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.

Be Humble... Be Nice.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Please be sure to post Struts questions in the Struts forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
Thanks for moving it.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

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.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unknown tag and Invalid location errors?
 
Similar Threads
special characters in JSTL
Using JSTL Data Displayed In Browser Is Getting Fixed To 24576 Bytes(24 KB)
How to Introduce a Button That Controls All Other Links in a Web Page
servlet mapping
Struts action not returning page on first click of button