Christophe Verré wrote:Check the certification FAQ :
What will the successful candidate receive in their certification kit?
All certification kits include the following*:
* A Sun certified certificate with the candidate's name and certification title.
* An ID card with the candidate's name and certification title.
* Due to damage that lapel pins were causing to certificates in shipping, Sun has discontinued Certification lapel pins as part of the certification kit.
Amit Prakash Singh wrote:Your web application has a valid dd with a single <security-constraint> tag.
Within this tag exists:
- a single http method that declares GET
All of the resources in your application exist within directory1 and directory2 and the only defined roles are BEGINNER and EXPERT.
If you want to restrict BEGINNERs from using resources in directory2, which are true about the url and role tag(s) you should declare? (Choose all that apply.)
A. A single url tag should declare directory1 and a single role tag should declare EXPERT.
B. A single url tag should declare directory2 and a single role tag should declare EXPERT.
C. A single url tag should declare directory1 and a single role tag should declare BEGINNER.
D. A single url tag should declare directory2 and a single role tag should declare BEGINNER.
E. One url tag should declare ANY and its role tag should declare EXPERT, and another url tag should declare directory2 and its role tag should declare BEGINNER.
F. One url tag should declare both directories, and its role tag should declare EXPERT, and another url tag should declare directory1 and its role
Answer Given : D, Answer Shoild be: B
since if we mention any role in the <auth-constratint>, the role is allowd to make the request and others are not. Same way here, if ansder D is true, then Beginner would be able to make request.
Please correct me If I got the answer wrong?
Raef Kandeel wrote:Hi there ranchers,
I have been studying from Head First Servlets & JSP's and I found Be-the-Container example on chapter 8:
Now, there is a servlet code that gets called first and after it gets called it forwards to the above jsp:-
In the answers it says it works fine, but, however, when I tried it, it did not work fine, apparently because it stores the value in the request scope when the jsp:useBean uses the page scope.
Am I right? Is HF wrong? Am I missing something?
Gupta Singh wrote:
sridhar row wrote:
D is also correct. TLDs can be in META-INF or a subdirectory of META-INF if deployed in a JAR.
Not in this case. Option D refers to the top-level META-INF, the sibling to WEB-INF as noted by the '/'. The META-INF you are refering to is the lower-level META-INF directory found inside .jar files.
sravanthi pulukuri wrote:Hi,
There was a Question about the location of TLD.
options are
A./WEB-INF
B./META-INF
C./WEB-INF/tlds
D./META-INF/tlds
E./WEB-INF/resources
F./META-INF/resources.
Answer was given as A,C,E. i dont know how it was E??Please help
<url-pattern>/securezone/*</url-pattern>
<url-pattern>/*</url-pattern>
a normal JSP is a page, unless it�s written with the XML alternatives to normal JSP syntax, in which case it becomes a document.