| 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: 56150
|
|
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.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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: 56150
|
|
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: 56150
|
|
|
As this is looking more and more like a NetBeans issue, I've moved it to the IDEs forum.
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Problem in using taglib in NetBeans
|
|
|