Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

tag library error

 
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is my header.tag file


i put this file inside the web-inf/tag directory
this is my jsp file



but it gives error ?it says cano't find tag library descripter for WEB-INF/tags
 
Bartender
Posts: 4107
72
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your "prefix" is "myTags?" and you are using "<myTags:..>" ?
 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes.what is the problem?
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

anarkali wrote: i put this file inside the web-inf/tag directory


Is that a typo?
 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is from the head first book
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And I'm asking if when you typed what I quoted you made a typing error and typed "tag" instead of "tags".
 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes.I change it .But still it gives compilter error.I am using eclips.
It underline the red color "/WEB-INF/tags" part
 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyway i didn't add anything to the web.xml regarding tag file .is it ok?
 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok .it is working.
if i put jsp file <img src="{"images/aruna.jpg"> <br>
where should the images folder should be?
inside the WEB-INF or out of it?
 
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

anarkali perera wrote:Ok .it is working.
if i put jsp file <img src="{"images/aruna.jpg"> <br>
where should the images folder should be?
inside the WEB-INF or out of it?



it should be inside /images/

i.e your_web-app--->images---->aruna.jpg

avi sinha
 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
now there is no compiler error.
this is Header.tag file


this is the welcome.jsp file

but when i run the welcome.jsp it gives only
"Welcome to our site. "

wher is the error?
    Bookmark Topic Watch Topic
  • New Topic