This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Help with Struts-html tag" Watch "Help with Struts-html tag" New topic

Help with Struts-html tag

ann anie

Joined: Feb 22, 2010
Posts: 7
I have downloaded struts- 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

Joined: Aug 03, 2008
Posts: 9404

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
Consider Paul's rocket mass heater.
subject: Help with Struts-html tag
jQuery in Action, 3rd edition