File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSTL Tags

 
frank braunstein
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
to get JSTL-custom-tag funtionality in a JSP it is necessary as prescribed by a JSTL-tutorial to copy the "standard.jar" and "jstl.jar" into /MyWebApp/WEB-INF/lib . I did this but still there's no JSTL funtionality. Im working with netbeans 6.8 with an integrated Apache 6, I did also add both .jar-files to the web-app's Libraries. Under Tools--->Libraries both jar-files are also added.

For example, i cant use this, it does not produce any output:



What can i do to get JSTL-custom-tags availible under Netbeans 6.8?
 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
did you import the tag library ?
 
frank braunstein
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sebastian Janisch wrote:did you import the tag library ?


Maybe you care, that ${sentence} alone does produce output. Netbeans does not recognize JSTL.
 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well maybe it's because you did not import the JSTL taglib before using it ...

You should have this at the top of your JSP document

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64171
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sebastian Janisch wrote:
You should have this at the top of your JSP document


That's the wrong URI!

The URI should be: http://java.sun.com/jsp/jstl/core
 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didn't know it by heart so I googled real quick but I guess you can trust no-one on this planet :-D ..

and you my friend are a nitpicker ! :-D ;-)
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64171
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sebastian Janisch wrote:and you my friend are a nitpicker !

It's not nit-picking when it will result in a ton of hard-to-diagnose errors.
 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:
Sebastian Janisch wrote:and you my friend are a nitpicker !

It's not nit-picking when it will result in a ton of hard-to-diagnose errors.


I yield to that ;-)
but remember .. I'll get back to you one day ;-)
 
frank braunstein
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sebastian Janisch wrote:
Bear Bibeault wrote:
Sebastian Janisch wrote:and you my friend are a nitpicker !

It's not nit-picking when it will result in a ton of hard-to-diagnose errors.


I yield to that ;-)
but remember .. I'll get back to you one day ;-)


In fact, i tried it out it didnt work, but my extra effort in a solution, brought this into being:



/jsp/...

thanks anywas it was a trigger!

EDIT:
i see Bear suggested the same!

one thank is enough!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic