Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

is JSTL suitable use in any situation ?  RSS feed

 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, can i use jstl in any circumstances ? can it replace normal jsp code? thank you
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
Eugene Lucash
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this question is unappropriate.
You can even use your cell phone instead of hammer to hit a nails!

It's more about design. You can redesign-refactor you jsp pages
using model1 or model2 (like Struts) architecture and use JSTL so
nicely that webapp will be like a state of art. But also you can do
this in most ugly manner.

Your question must be "How I can use JSTL to get most of it"...

regards.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with Eugene.

If you are not taking the decision flow out of the JSPs and moving it into servlets and/or beans then using JSTL is only adding a new syntax to your JSPs which, in my opinion, only complicates them further.
[ February 22, 2005: Message edited by: Ben Souther ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
However, you should be taking the decision flow out of the JSPs and moving it into servlets and/or beans.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!