Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Want a brain teaser?

 
vaibhav punekar
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • 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?
 
maha anna
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • 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).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic