Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSTL

 
amit sanghai
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
When I use JSTL do I just have to import the packages or I have to write the custom tag handlers?
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
U need to import the packages..the tag handler classes are already implemented.
 
amit sanghai
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks. Please dont laugh because I am new to JSP. In custom tags you had to write the tag handler classes.
 
Shawn Bayern
Author
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by amit sanghai:
thanks. Please dont laugh because I am new to JSP. In custom tags you had to write the tag handler classes.

Right - the point of JSTL is to provide standard tags that work the same anywhere. As long as you download a JSTL implementation, the hard work has been done for you already. You simply use the right <%@ taglib %> directive and then can use tags like <c ut>, <c:forEach>, etc., without having to program any tag-handler implementation classes yourself.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic