Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

scriptlet works, scoped variable does not  RSS feed

 
Pat Farrell
Rancher
Posts: 4686
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSP page that I can make work using evil scriptlets and can not get to work using modern JSTL EL expressions.
I'm sure its a trivial cockpit error, but I can't figure it out.



Any pointers, corrections, help, greatly appreciated.
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Pat,


there is no such thing as "scope" , if its from session it should be ${sessionScope.struct}

Other valid scope are
applicationScope
pageScope
requestScope
 
Pat Farrell
Rancher
Posts: 4686
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, that did the trick
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!