This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use JSTL in NetBeans

 
Kostas Anastasiou
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have copied from my tomcat folder the two libraries,jstl.jar
and standard.jar and I have put them under WEB-INF/lib in my
web application in NetBeans.Which is the way to use these libraries?

this works (prints hello quest) but I think that I have to add something else in the first line...
Thanks in advance...
 
Cole Terry
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kostas Anastasiou wrote:I have copied from my tomcat folder the two libraries,jstl.jar
and standard.jar and I have put them under WEB-INF/lib in my
web application in NetBeans.Which is the way to use these libraries?

this works (prints hello quest) but I think that I have to add something else in the first line...
Thanks in advance...


Before using <c:out /> tag, you should set a variable "user" with a specific value in one of the implicit objects: session, request, page ...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic