Meaningless Drivel is fun!
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes servlet error attribute??? 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 "servlet error attribute???" Watch "servlet error attribute???" New topic

servlet error attribute???

Wai Yip Lau

Joined: Jun 20, 2005
Posts: 23
I think I have read through the book but I really can't find anything about this. I can't recognize what it is. Please help.

Which of the following are LEGAL servlet error attributes?

Please select three correct answers.

A : javax.servet.error.status_code
B : javax.servet.error.exception
C : javax.servet.error.uri
D : javax.servet.error.message
E : javax.servet.error.query
Mat Williams
Ranch Hand

Joined: Jul 20, 2005
Posts: 215

There is nothing in the API about these. In fact the class javax.servlet.error does not exist according to the version of the API I have.

Where does the question come from? is it on the web - if so can you post the url?

Wai Yip Lau

Joined: Jun 20, 2005
Posts: 23
It is in the SCWCD mock exam 1.
Sergey Tyulkin
Ranch Hand

Joined: May 10, 2005
Posts: 87
If you have a copy of Servlet 2.4 specifiaction, you may look at "SRV.9.9 Error Handling" section. It describes the ".error." attributes.
For example, you can use these attributes for error-handling:

All others are wrong.

Then< correct answer is ABD
I agree. Here's the link:
subject: servlet error attribute???
It's not a secret anymore!