Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Enthuware test question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Enthuware test question" Watch "Enthuware test question" New topic

Enthuware test question

Amit Hetawal
Ranch Hand

Joined: Apr 12, 2008
Posts: 48
Hello All,
Can someone help me with the answer for this question.

According to me, shouldn't the answer be Option D, since there is not <http-method> defined, all the methods will be inaccessible,
so the user should not be prompted for any of the Http methods ?

Please advise.

Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

If no HTTP methods are specified, then the security constraint applies to all HTTP methods. So if a url matches a security-constraint, then the user will have to login.

[My Blog]
All roads lead to JavaRanch
Amit Hetawal
Ranch Hand

Joined: Apr 12, 2008
Posts: 48
Thank you, it took me a while to clear my understanding on this ..
I agree. Here's the link:
subject: Enthuware test question