File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Everyone using JSTL? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Everyone using JSTL?" Watch "Everyone using JSTL?" New topic
Author

Everyone using JSTL?

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1066
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
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61187
    
  66

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).


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1066
Thanks.
Joseph Hatton
Greenhorn

Joined: Dec 12, 2002
Posts: 20
I agree with Bear. Not that scriplets are bad, but implicitly we see it as a negative coding practice.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
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


42
Paul Bourdeaux
Ranch Hand

Joined: May 24, 2004
Posts: 783
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.


“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Everyone using JSTL?