File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes j2eecertificate.com question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "j2eecertificate.com question" Watch "j2eecertificate.com question" New topic
Author

j2eecertificate.com question

Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 950
Hi,

Which of the following attribute scopes are thread safe (Check all the correct answers)

1. Request attributes
2. Response attributes
3. Session attributes
4. Context attributes
5. None of the above

The answers given 1 and 2. Is there any Response attributes in Servlet specs.

Thanks


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
Radmika Arunachalam
Ranch Hand

Joined: Mar 29, 2004
Posts: 45
There is response attributes, there is no methods to get/set attributes in ServletReponse or HttpServletResponse interfaces.. I think question in j2eecertificate site is wrong..
Radmika Arunachalam
Ranch Hand

Joined: Mar 29, 2004
Posts: 45
Sorry typo mistake "There is NO response attributes"
Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 950
Hi

Thanks. I also putting this in j2eecertificate feedbak. Hope they correct or give justification.

Thanks
 
Don't get me started about those stupid light bulbs.
 
subject: j2eecertificate.com question