File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with Struts-html tag

 
ann anie
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9495
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In struts 2, you have to include this tag directive
(Of course you are not bound to use the s prefix)...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic