• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem in using taglib in NetBeans

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Thanuja Vishwanath
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As this is looking more and more like a NetBeans issue, I've moved it to the IDEs forum.
 
reply
    Bookmark Topic Watch Topic
  • New Topic