wood burning stoves*
The moose likes JSP and the fly likes JSTL Tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSTL Tags" Watch "JSTL Tags" New topic
Author

JSTL Tags

frank braunstein
Ranch Hand

Joined: Dec 17, 2009
Posts: 60
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

Joined: Feb 23, 2009
Posts: 1183
did you import the tag library ?


JDBCSupport - An easy to use, light-weight JDBC framework -
frank braunstein
Ranch Hand

Joined: Dec 17, 2009
Posts: 60
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

Joined: Feb 23, 2009
Posts: 1183
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

Joined: Jan 10, 2002
Posts: 60810
    
  65

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Sebastian Janisch
Ranch Hand

Joined: Feb 23, 2009
Posts: 1183
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

Joined: Jan 10, 2002
Posts: 60810
    
  65

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

Joined: Feb 23, 2009
Posts: 1183
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

Joined: Dec 17, 2009
Posts: 60
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSTL Tags
 
Similar Threads
How to know what tags are available in taglib and whats their behaviour ?
What jar files do I need to use jstl in my jsp on tomcat 6.0.24 ?
module has not been deployed
"tld" file,"tag" file and "cutsom tag"
ServletException after JSP precompilation