This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Why will we write a custom tag, and not a JSPs fragment?  RSS feed

 
Tina Jain
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why will we write a custom tag, and not a JSPs fragment?

When both can do the same thing.

we all write custom tag, but can someone please explain why.

Thanks for your help.
Have a nice day.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65828
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Scriptlets are evil and should be considered deprecated for JSP 2.0. Custom actions (tags) bring notational unity, encapsulation, and all other manner of OO goodness to the party.
[ December 05, 2006: Message edited by: Bear Bibeault ]
 
graham king
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's like asking yourself, "Why can't I re-write my code everywhere instead of reusing it from one place?"
 
Tina Jain
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

[ December 05, 2006: Message edited by: Tina Jain ]
 
Tina Jain
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your help.

Have a nice day.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!