Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Does new JSP still allow scriptlets?  RSS feed

 
Rogerio Kioshi
Ranch Hand
Posts: 690
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to know if new JSP (JEE6) still allow scriptlets.

Thank you
 
Rob Spoor
Sheriff
Posts: 21095
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It probably does, but you shouldn't use them. Scriptlets have been out of favour for the last 10 years or so. Use EL and tags instead.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66208
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, to support legacy pages. Do not use them in new code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!