This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

adding tag lib

 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this my address.jsp file.It contains some taglib properties.



it gives error.can't find taglib.how to add tag library.

I already added following jars
commons-beanutils-1.8.0.jar,commons-chain-1.2.jar,commons-digester-1.8.jar,servlet-api.jar,struts-1.2.9.jar
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you define the taglib uri mapping in web.xml ?
 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no,how to define in web.xml?
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
aruna sameera wrote:no,how to define in web.xml?

Insted of directly giving an answer, I provides some pointers,
  • Simplest one, Google it.
  • Secondly, download the DTD for your existing web.xml, search through that DTD regarding where to define tlds.
    (Hint: it ll look kike :http:/java.sun.com/j2ee/dtds/web-app_2_X.dtd, where x is there version you're using)


  • Finally, You need NOT have to define a TLDs uri entry in web.xml, if you're using JSP2.0 and above complaint container/server.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic