• 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

Are scripplets really necessary?

 
Ranch Hand
Posts: 341
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have moved from a time when there were no frameworks(or raw frameworks) to a time where we have highly sophiticated frameworks. Different frameworks provide their specific tag libraries.

Also, we have JSTL and EL functions. Moreover, one can implemet his own custom TLD's.
But, still a lot of Java coding still depends on scripplets in JSP's.

Just, wanted to have some views on the same.


P.S. These lines in web.xml which allows to disable scripplets in your application globally.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think it is good practice to avoid scriptlets in JSPs as much as possible. In my experience, JSPs can quickly get very messy if you put Java code in your JSPs.
 
reply
    Bookmark Topic Watch Topic
  • New Topic