aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Mock exam question 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 "Mock exam question" Watch "Mock exam question" New topic
Author

Mock exam question

Sunjeev Shetty
Ranch Hand

Joined: Aug 21, 2005
Posts: 48
Given that a scoped attribute cart exists only in a user's sesson which two taken independently ensure the scoped attribute cart no longer exists?
A.${cart=null}
B.<c:remove var="cart"}
C.<c:remove var="${cart}"
D.<c:remove var="cart" scope="session"/>
E.<c:remove scope="session">cart</c:remove>
F.<c:remove var=${cart}" scope="session"/>
G.<c:remove scope="session">${cart}</c:remove>

Thanks
Patrick Williams
Ranch Hand

Joined: Apr 03, 2005
Posts: 213
I would guess B and D.


Patrick<br /> <br />SCJP/SCWCD/SCBCD/SCDJWS/SCEA<br /> <br />Currently working on:<br />SCJP 6
Vivaldo Pinto
Ranch Hand

Joined: Sep 01, 2005
Posts: 53
B and D.


SCJP|SCWCD|SCEA 5 PT 1/3
Patrick Williams
Ranch Hand

Joined: Apr 03, 2005
Posts: 213
Provided that the incorrect closure on B is a typo.
Sunjeev Shetty
Ranch Hand

Joined: Aug 21, 2005
Posts: 48
Thanks
 
wood burning stoves
 
subject: Mock exam question