• 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

Want a brain teaser?

 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I ve been getting continuous erro in using my own tags in Tomcat3.2.1.I am tired to post this query again and again.
Now the erro I m geeting is
------------------------------------------------------
org.apache.jasper.compiler.CompileException: E:\jakarta-tomcat-3.2.1\webapps\upload1\uploadtag.jsp(60,0) Unable to open taglibrary /WEB-INF/lib/exetag.jar : in is null
at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:713)
at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
---------------------------------------------
Please I ve tried it uot everything I could.Got a sick of it.Pleass help.
main points-----
1)taglib-uri:http://localhost:8080/upload1(upload1 is my web-app)
2)taglib-location:/WEB-INF/lib/exetag.jar
3).tld file is in /meta-inf folder.I tried it putting everywhere.
4)It is the way in which I ve defined in ExeTag.java file:
<tag>
<name>ExeTag</name>
<tagclass>upload1.ExeTag</tagclass>
<info> Display JSP sources </info>

</tag>
</taglib>
Anybody who can help.Where are you all java-gurus?
 
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
vaibhav,
I think before going to .jar file , we can make a simple test to go one step at a time.
Used Tomcat 3.1 on win98 platform. Tomcat3.1 supports Tag Libraries,Servlet2.2 and Jsp1.1.
Did a small test and able to compile and view jsp pages which use .tld files.
The tag used in this test uses optional attributes as needed in your case.
Please follow the procedure to get the results. Once we able to pass this test,
then we should be able to figure out how to go for .jars step.
with best wishes,
maha anna
Here are the steps.
***************************************************************
Step 1. There are 3 basic files for for using tag libraries.
***************************************************************

***************************************************************
Step 2. Where to place all these files :
***************************************************************

***************************************************************
Step 3: Here are the sources:
***************************************************************

***************************************************************
Step 4: Where to copy .tld , .jsp and .class files ?
***************************************************************


***************************************************************
Step 5: How to test?
***************************************************************

***************************************************************
Step 5: See the Results in browser!
***************************************************************

I am able to view the results. Please check this procedure.
regds
maha anna

[This message has been edited by maha anna (edited March 30, 2001).]
 
What do you have in that there bucket? It wouldn't be a tiny ad by any chance ...
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic