• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

struts-html.tld not found help me please

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Iam making a form in struts in which i make on gui using tag libraries struts-html.tld and struts-bean.tld ,but the problem is the when i compile my jsp page the error comes that the struts-html.tld not found i did the right mapping int the struts-config.xml and web.xml but the problem is not solved

here iam sending the source code please help me

Struts-config.xml



========================
web.xml
============================


======================
Address.jsp
==========================



======================
AddressForm.java
======================


Source code fro my bean

Iam putting the my tlds in the right folder WEB-INF but problem is not solved


this is the error
org.apache.jasper.JasperException: File "/WEB-INF/struts-html" not found


plaase help me with explanation
 
Ranch Hand
Posts: 174
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Change

to
 
Sheriff
Posts: 9707
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are using Servlet 2.4 container, then you don't need tld files in the WEB-INF folder. The container automatically searches for tlds in jar files in the lib folder. So you can directly use taglib directive in your JSP page as given here. In that case you'll have to use taglib directives which look like this
With these taglib directives, you don't need to define taglib in your web.xml and you don't need to put struts-bean.tld and struts-html.tld in the WEB-INF folder...
 
tamnna arzoo
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
THANKS A LOT DEAR
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic