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 Help with Struts-html tag 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 "Help with Struts-html tag" Watch "Help with Struts-html tag" New topic
Author

Help with Struts-html tag

ann anie
Greenhorn

Joined: Feb 22, 2010
Posts: 7
hi,
I have downloaded struts-2.1.8.1-all.jar from Apache site. But I'm getting error while adding the code in .jsp

<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

I dont have any struts-html in my WEB-INF folder. Can any one telll how to correct this and proceed?
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

In struts 2, you have to include this tag directive
(Of course you are not bound to use the s prefix)...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help with Struts-html tag
 
Similar Threads
Enabling/Installing Struts Tiles
Can I use Struts tags inside plain HTML tags?
"WEB-INF/lib/struts-html.tld" not Found
How to user Struts Tags in a WebApplication
Struts: Can we have a html:text tag without a html:form tag outside it.