0

Hey techFriends,

I was wondering since JSTL ( Java Standard Tag Library ) main purpose is to only make your logic more readable, what are the real benefits of using such technology in my Java server pages?
From what I have seen in the Java Server Tag Library document, seems like it's classes and method can never be as comprehensive as those of the traditional Javascript. Any JSTL fans out there care to enlighten me on this ?

Thanks

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by ~s.o.s~
1

> JSTL main purpose is to only make your logic more readable

No, it's main purpose is separation of concerns and to make sure that you don't end up mixing your business and view logic. The ability to create reusable custom tags is a big win over having duplicate code in your code base which achieves the same functionality.

That being said, for any real project, I see no need for any technical architect to prefer JSTL over the plethora of Web MVC frameworks out there, each with their own tried and tested view technology. Spring MVC, Wicket, Struts 2, Tapestry; take your pick. :)

Edit: You might find this discussion interesting. Oh and BTW, for the sake of good old god, never ever use JSF!

Edited by ~s.o.s~: n/a

Votes + Comments
Thanks for the enlightening me
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.