aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Problem in using taglib in NetBeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Problem in using taglib in NetBeans" Watch "Problem in using taglib in NetBeans" New topic
Author

Problem in using taglib in NetBeans

Thanuja Vishwanath
Ranch Hand

Joined: Oct 07, 2010
Posts: 49
Hi,

For pagination iam using pager-taglib.tld.

I have included pager-taglib.jar in lib folder.
and i have included pager-taglib.tld in /WEB-INF/tlds/pager-taglib.tld

and in web.xml



In JSP
i have included



Now i get this error:
PageUrl is already defined in SimplifiedJSPServlet

Iam using Netbeans 6.8 version. I dont find any file called SimplifiedJSPServlet.

I dont have any clue as why it shows this error. Just to test i included other tlds but iam not getting this type of error.

Please advise.


Thanks,
Thanuja.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61658
    
  67

Where did you get the TLD file? Did you take it out of the jar file?

If the TLD file is in the jar file, leave it there and remove the TLD file from the file system and remove the web.xml entry. They are unnecessary and could be getting in the way. This may not be your issue, but it's the first thing to eliminate.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Thanuja Vishwanath
Ranch Hand

Joined: Oct 07, 2010
Posts: 49
Hi,

I downloaded pager-taglib as a zip file in which tld was present and then a seperate jar file pager-taglib.jar. but this jar file doesnot have the tld in it.

downloaded from the below link
http://jsptags.com/tags/navigation/pager/download.jsp

Documentation:
http://jsptags.com/tags/navigation/pager/pager-taglib-2.0.html

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61658
    
  67

Thanuja Vishwanath wrote:I downloaded pager-taglib as a zip file in which tld was present and then a seperate jar file pager-taglib.jar. but this jar file doesnot have the tld in it.


Ick. OK, they're doing things the old fashioned way.

Next step I suppose would be to find out what SimplifiedJSPServlet is. Is it in any of the jar files in your application?
Thanuja Vishwanath
Ranch Hand

Joined: Oct 07, 2010
Posts: 49
No there is no file called SimplifiedJSPServlet in any of my jar file.

when i googled i found this link
http://netbeans.org/bugzilla/show_bug.cgi?id=172334

and what about this. is this file present in netbeans pkg
http://www.java2s.com/Open-Source/Java-Document/IDE-Netbeans/web.core/org/netbeans/modules/web/core/syntax/SimplifiedJSPServlet.java.htm
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61658
    
  67

As this is looking more and more like a NetBeans issue, I've moved it to the IDEs forum.
 
 
subject: Problem in using taglib in NetBeans