• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

taglib

 
sandeep rane
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i am new to taglib in jsp.
I have written
1)counter.tld
2)counter.java
3)counter.jsp
I am using weblogic5.1 version .
I placed counter.tld file in c:\weblogic\myserver\public_html\web-inf directory and
I placed jsp file in public_html
i placed counter.class file in servletclasses directory.But it is giving error that counter.class is bad file .please remove it or keep it in correct directory.
please help me for the correct location of all the files.

------------------
 
jon boydell
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in the tld do you refer to the class as "ClassName" or "package.ClassName"? If the Class is in the root package try using ".ClassName" in the tld to identify the class, see if that makes any difference...
 
khad M
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sandeep rane:
hi
i am new to taglib in jsp.
I have written
1)counter.tld
2)counter.java
3)counter.jsp
I am using weblogic5.1 version .
I placed counter.tld file in c:\weblogic\myserver\public_html\web-inf directory and
I placed jsp file in public_html
i placed counter.class file in servletclasses directory.But it is giving error that counter.class is bad file .please remove it or keep it in correct directory.
please help me for the correct location of all the files.

************************************
CAN ANY BODU TELL SOLUTION FOR THE ABOVE PROBLEM...???
KHAD M
 
khad M
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sandeep rane:
hi
i am new to taglib in jsp.
I have written
1)counter.tld
2)counter.java
3)counter.jsp
I am using weblogic5.1 version .
I placed counter.tld file in c:\weblogic\myserver\public_html\web-inf directory and
I placed jsp file in public_html
i placed counter.class file in servletclasses directory.But it is giving error that counter.class is bad file .please remove it or keep it in correct directory.
please help me for the correct location of all the files.

************************************
CAN ANY BODY TELL SOLUTION FOR THE ABOVE PROBLEM...???
KHAD M
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic