• 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: 20904
81
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: 65833
134
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!