Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
Step one step back to learn more thing..!!<br />Post to learn<br />learn from mistake<br />take whatever i understand...!!!<br /> <br />SCJP 1.4, Brainbench Java 1 & 2.<br />SCWCD 1.4 (preparing...!!)
Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
Step one step back to learn more thing..!!<br />Post to learn<br />learn from mistake<br />take whatever i understand...!!!<br /> <br />SCJP 1.4, Brainbench Java 1 & 2.<br />SCWCD 1.4 (preparing...!!)
Thanks,<br />Durgaprasad<br />SCJP1.4, SCWCD1.4, SCBCD1.3,<br />SCEA
Originally posted by Durgaprasad Guduguntla:
Excellent collection ... the following needs correction:
There should be separate <security-role> element for each role.
P.Dunn<br />SCJP, SCJD, SCEA & SCWCD
Originally posted by Jose Esteban:
According to Figure SRV.13.16 in Servlet spec 2.4 (page 145), the only correct way is to use only one <role-name> per <security-role>.
So I think there's a mistake in HFSJ.
Originally posted by Francois Roland:
I think there is one thing to correct:
Brief Roadmap:
19) The HttpSession - related listeners.
I'm pretty sure that there is another listener that doesn't have to be registered in the deployment descriptor: HttpSessionActivationListener.
Originally posted by Jose Esteban:
I don't know. I think the Servlet 2.4 specs are a little confusing. The say in SRV.10.3.2:
"Listener classes are declared in the Web application deployment descriptor using the listener element."
Which, I understand, means that all of the listeners must be declared in the DD. But later, in SRV.15.1.10, the specs say:
"Events of this type are either sent to an object that implements HttpSessionBindingListener when it is bound or unbound from a session, or to a HttpSessionAttributeListener that has been configured in the deployment descriptor when any attribute is bound, unbound or replaced in a session."
which seems to indicate that HttpSessionBindingListener doesn't need (have) to be declared in the DD.
I really would appreciate any explanation.
What HFSJ say is that:
"...HttpSessionActivationListener must be registered in the DD, since they are related to the session itself, rather than an individual attribute placed in the session"
What about ServletRequestListener or ServletRequestAttributeListener? I think they must be declared in the DD, but I dont know it for sure.
Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
Originally posted by Murali Chidurala:
Very nice check list marco. I'm starting my prep for this. Got the good list at right time. Thanks!! Can you also tell me how long it took to feel that you are in pretty good shape along with your efforts? This is just to have a rough estimate for myself.
Thanks once again...
Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
Originally posted by Durgaprasad Guduguntla:
Excellent collection and would surely help everyone going for the Exam. It would be better if the complete method signatures are given in Servlet API. Similarly the following needs correction:
There should be separate <security-role> element for each role.
Thanks,
Durga
Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
There should be separate <security-role> element for each role.
Following the specs, it seems that Durgaprasad is right...
P.Dunn<br />SCJP, SCJD, SCEA & SCWCD
Originally posted by Marco Tedone:
Yes, confirmed. The HttpSessionActivationListener and HttpSessionBindingListener don't need to be declared in the DD. I know it because my colleague took the exam last week.
P.Dunn<br />SCJP, SCJD, SCEA & SCWCD
Originally posted by P. Dunn:
I can't find anything to corroborate that a HttpSessionActivationListener need not be in DD. HFS saqys the opposite. Could your colleague have gotten it wrong?
Could you give a reference? Anyone?
BTW : Thanks Marco. Nice summary.
[ March 03, 2005: Message edited by: P. Dunn ]
Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
Originally posted by jaya merugu:
Hi Marco,
your doucment is really helpful...
I guess, u forgot to include <servlet-mapping> element.
Thanks
jaya
[ March 03, 2005: Message edited by: jaya merugu ]
Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
Originally posted by jaya merugu:
Hi! Marco,
is the link updated that u posted here...
i don't c any changes in the document related to mapping
except for ' Defining initial parameters for a JSP'
If u make any changes leave a message here...
Thanks,
jaya
Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
Can you hear that? That's my theme music. I don't know where it comes from. Check under this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|