This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Error with struts-html.tld 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 "Error with struts-html.tld" Watch "Error with struts-html.tld" New topic
Author

Error with struts-html.tld

vijay kumarg
Ranch Hand

Joined: Dec 14, 2006
Posts: 105
I am getting the following error:
org.apache.jasper.JasperException: File "/WEB-INF/struts-html.tld" not found
I have included struts-core 1.3.5.jar to the build path.
The environment is jdk 1.5 and struts 1.3.5 and eclipse 3.1.2

Thanks,
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
When using Struts 1.3.5, you must also include struts-taglib-1.3.5.jar in your build path, and you should use the newer style taglib definitions that refer to a namespace identified in the jar file rather than a physical location. Change your taglib definition to:

<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
[ February 19, 2007: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
vijay kumarg
Ranch Hand

Joined: Dec 14, 2006
Posts: 105
Thanks Merrill for updating me.
I am referring a handbook on struts 1.1 which I am avilable with.Could you tell me where I can find about all updations compared to the earlier versions to 1.3.5

Thanks,
[ February 19, 2007: Message edited by: vijay kumarg ]
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
You can always look at the release notes. However, I'm very much a "learn by example" type of person, so I find it more useful just to install, run, and open the source code in the struts-examples.war file that comes with the download, and learn the changes by looking at their code.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error with struts-html.tld
 
Similar Threads
locating tld files in Struts -all.zip distribution
Alternative for DispatchAction class in struts1.3.5
Trouble with struts validator
jar files
Struts framework