• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL question

 
alzamabar
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With Servlet 2.4 and JSP 2.0 EL is enabled by default. Does this mean that the container will fill the EL implicit objects even if a JSP page will not make use of them? Let's think at a HTML form full of parameters; when the form gets submitted, does the container fill the ${paramValues} implicit objects anyway, or only if it's used in the page?
 
Colin Fletcher
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Marco,

The container will define the implicit objects for each JSP page, not HTML. There maybe some containers that include the implicit objects based on usage, but I am not aware/familiar with them.

-C
 
Bryan Basham
author
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Marco,

Whether the EL implicit objects are preinitialized for every JSP request is an container-specific detail, but a smart container would use a lazy-evaluation approach.

-Bryan
 
alzamabar
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bryan Basham:
Hi Marco,

Whether the EL implicit objects are preinitialized for every JSP request is an container-specific detail, but a smart container would use a lazy-evaluation approach.

-Bryan


It's good to know, Bryan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic