• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Everyone using JSTL?

 
Bartender
Posts: 1971
17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From reading books like the "Head First Servlets" (great book, by the way), I got the feeling that (JSP) scriptlets are O-U-T and LSTL is IN-IN-IN.

Is this the reality of the way most people are coding these days for JSPs.

Now that JSP 2.0 looks a lot like the wickedly popular ColdFusion, I'm wondering if it's time to get a book, hunker down, and just transition to JSTL.

Thoughts anyone?

-- Mike
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, adopting JSTL, EL and scritless pages is the best thing you could do for yourelf (and anyone who will ever need to touch your pages).
 
Mike London
Bartender
Posts: 1971
17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with Bear. Not that scriplets are bad, but implicitly we see it as a negative coding practice.
 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to get the rest of the team in our company to adopt JSTL. Kinda tough as they're just getting used to scriptlets
 
Ranch Hand
Posts: 783
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Scriptless pages are definately the way to go... but if you work in an environment that is anything like mine, you will find yourself maintaining a lot of jsp that relys heavily on scriptlets. When developing new applications (or if you are lucky enough to completely refactor an older one), I say go with JSTL and EL.
 
reply
    Bookmark Topic Watch Topic
  • New Topic