wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Implicit Objects doubt! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Implicit Objects doubt!" Watch "Implicit Objects doubt!" New topic
Author

Implicit Objects doubt!

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Guys,

Can anyone clarify me the difference between JSP and EL implicit objects?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Amirr Rafique
Ranch Hand

Joined: Nov 14, 2005
Posts: 324
Both are same or we can say that using EL we can access JSP implicit objects


"Know where to find the solution and how to use it - that's the secret of success."
Marcus Green
arch rival
Rancher

Joined: Sep 14, 1999
Posts: 2813
EL and JSP implicit objects are not the same.


SCWCD: Online Course, 50,000+ words and 200+ questions
http://www.examulator.com/moodle/course/view.php?id=5&topic=all
Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
To get attribute from any scope, in JSP we use



in EL we have



Similarly if you need to get any request parameter we can use request.getParameter(key) in JSP or we can use EL and use ${param.key} etc

We can't set attributes in scopes using EL i guess
Kevin DesLauriers
Ranch Hand

Joined: Nov 28, 2005
Posts: 43
EL implicit objects return maps of the attribute or parameters (except the pageScope that returns the actual page scope) where the JSP implicit objects return the actual objects.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Ali,

Thanks for the explanation!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Implicit Objects doubt!
 
Similar Threads
about implicit objects
Implicit and Explicit Objects
EL retrieving init param in servlet element
Difference between page , pagecontext and application implicit object
implicit objects in jsp