hi nishant
did u get the same patterns of question in exam
as given by bengt earlir post.
or diffrent
please tell
bengt post ------------------------------------------
Questions:
- 2 questions on dynamic-attributes. (this tutorial is more than enough: link to tutorial)
- 5 or 6 on
J2EE patterns
- 1 on http form POST / GET methods mapped to doPost / doGet servlet methods
- 3 questions with doService() overwritten
- 1 or 2 with init() overwritten, including one that throws an especial type of Exception (UnavailableException) that the container can try again to init later.
- 2 or 3 on jsp documents (xml)
- 3 or 4 on <jsp:useBean ...> tag - the main concept they tested wore scope (default page) and the fact that the body does NOT run if a bean with the same name already exists in the declared scope
- 2 on <jsp:import ...> - the concepts they tested wore scope and the fact that this is a run-time import
- 5 or more on other <jsp: ...> tags
- 3 on <c:set ...> two with var and one with target, all of them strait-forward if you have HF.
- 2 on where dtds should go (deployment)
- 3 on what is required when deploying using WAR files (on of them a little confusing, make sure you got it right).
- 3 on <login ...> deployment descriptor and related tags. Main concept tested: that you are doing the authentication part of J2EE security, and types of authentication, it's security strength etc.
- 5 or so on other security J2EE aspects and DD tags.
- 4 or 5
testing if you know what object (request, ServletContext or response) can give you request dispatchers, among other related objects).
- 4 or so on servlet and context init parameters, pretty strait-forward.
- 3 or so on filters, strait-forward.
- 1 or 2 on what happens with sessions after a explicit call on invalidate(), make sure you got it right.
- 5 or so on simple tags, all of them easy, 2 of them big ones (somewhat confusing, still easy, I got 100% on tags). Concepts tested: if you know that the main method is doTag() (instead of doStartTag), if you know how to map attributes from TLD to methods (javabean convention), if you know how to access parent tags and 1 question tested if you know how parent tags can access child tags (remember, there is NO getChildXXX() methods, the child tag must register itself with the parent tag invoking getParent() - the HF book covers this gracefully, as always. Other question tested if you know how to iterate and count how deep the tag is.
- 3 or 4 on listeners, very, very strait-forward.
- 2 or 3 on <%@ taglib...> directive (there's not much to ask about it anyway).
- 1 on exclusive tagfiles directives (make sure you know them, at least their names).
- 8 or so on EL, strait-forward.
- 1 on <el-ignored> DD tag (remember it's not <is-el-ignored>!!, don't confuse with the page directive isELIgnored attribute).
- 3 on el functions, one testing if you know that the method has to be public static, other testing if you know how the signature on the dtd should be, and other on how to call the function using EL
- 2 or 3 on how to encode URLs, and when to use encoding (button line is: always encode all URLs so in case there�s no cookies enabled, jsessionid request attribute gets on all URLs).
- 1 question on <c:url... > tag, pretty easy
- 1 or two questions on how to add a request/session etc parameter using request, request.getSession() etc
- 2 questions testing if you know that request.getParameterValues() returns Enumeration, not a List or an array.
- 2 questions testing if you know paramValues and headerValues EL implicit vars and how to access them (it�s not paramValues.1, it�s paramValues[1], and the first one is zero indexed).
Plus:
- 3 or 4 easy drag and drop questions, one on listeners, other on <@ taglig ...> directive and other ones on DD tags.
[ October 24, 2005: Message edited by: rakesh mittal ]