aspose file tools*
The moose likes Servlets and the fly likes taglib Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "taglib" Watch "taglib" New topic
Author

taglib

sandeep rane
Greenhorn

Joined: Jun 29, 2001
Posts: 5
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

Joined: Jul 04, 2001
Posts: 15
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

Joined: Nov 26, 2001
Posts: 48
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

Joined: Nov 26, 2001
Posts: 48
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: taglib