Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt on implicit objects

 
mara thamizhan
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear dudes,
I was going through getting and setting attributes for various scopes in jsp through implicit objects.

I have a doubt on this:
If we can get and set attributes for any scope through pagecontext
implicit object then what is the need of having implicit objects for other scopes in jsp.
Regards.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are things particular to those objects, besides attributes.

Request parameters, session ID, context init params, etc...
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As you said there is an important term here scope.

If at all you have only one "pageContext", then it will be heavily overloaded as it is maintained per application. That's why they have several scopes for several parameters and reasons.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic