• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error with struts-html.tld

 
vijay kumarg
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
vijay kumarg
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic