This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tag Handler class question  RSS feed

 
steve francisco
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a web application with page flow like JSP1-->JSP2-->JSP3-->JSP4-->JSP5, between each two JSP pages it goes through servlet and some action classes. Now, suppose that in each JSP page, I want to use tag library to make the life easier. Do I need to create different Tag Handler classes for different pages ? i.e. do I need 4 or 5 different tag handler classes in this case ?
 
sanat
Ranch Hand
Posts: 111
Eclipse IDE Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to write a Tag Handler for redirecting the flow from one page to another you don't need many tags, one Tag Handler should do.

Hope that's what you want.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!