aspose file tools
The moose likes Struts and the fly likes Unknown tag and Invalid location errors? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply 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: 622
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: 56168
    
  13

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Arjun Reddy
Ranch Hand

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

Joined: Feb 19, 2008
Posts: 2896
    
    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
Struts action not returning page on first click of button
servlet mapping
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
special characters in JSTL