Thanks everyone in this forum. Special thanks to Miftah, Ken and Velmurugan for their excellent notes. Thanks to Carl for the excellent forum. I passed the exam with 89%. The exam, atleast my exam, is not that easy as so many earlier said. Some questions require you to think. Read the methods in the events classes along with the methods in the listener classes. Make sure you understand well about the distributed web application. The distribution of questions is more or less the same as Velmurugan described. I used SCWCD@Whiz for my practice, it is a very good tool. And thanks once again everybody in this forum.
question: should I remember all following methods to pass the exam? Those methods I copy from the note. 1.4.Identify the interface and method to access values and resources and to set object attributes within the following three Web scopes: 1.4.1.Request (Interfaces: ServletRequest and HttpServletRequest) 18.104.22.168.Enumeration ServletRequest.getAttributeNames() - returns empty enumeration if no attributes 22.214.171.124.Object ServletRequest.getAttribute(String name) - returns null if does not exist 126.96.36.199.void setAttribute(String name, Object obj) - most often used in conjunction with RequestDispatcher; attrib names should follow same convention as pkg names 188.8.131.52.void removeAttribute(String name) 184.108.40.206.String ServletRequest.getCharacterEncoding() - returns encoding used in request body, or null if not specified 220.127.116.11.int ServletRequest.getContentLength() - returns length of request body or -1 if unknown 18.104.22.168.String ServletRequest.getContentType() - returns mime type of request body or null if unknown 22.214.171.124.String ServletRequest.getProtocol() - returns protocol/version, e.g. HTTP/1.1 126.96.36.199.String ServletRequest.getScheme() - scheme used to make this request, e.g. ftp, http, https 188.8.131.52.String ServletRequest.getServerName() 184.108.40.206.int ServletRequest.getServerPort() 220.127.116.11.String HttpServletRequest.getAuthType() - e.g. BASIC, SSL, or null if not protected 18.104.22.168.String HttpServletRequest.getContextPath() - e.g. �/myservlet� 22.214.171.124.String HttpServletRequest.getMethod() - e.g. GET, POST, HEAD, PUT 126.96.36.199.String HttpServletRequest.getPathInfo() - returns extra path info (string following servlet path but preceding query string); null if does not exist 188.8.131.52.String HttpServletRequest.getPathTranslated() - translates extra path info to a real path on the server 184.108.40.206.String HttpServletRequest.getQueryString() - returns query string; null if does not exist 220.127.116.11.String HttpServletRequest.getRemoteUser() - returns null if user not authenticated 18.104.22.168.Principal HttpServletRequest.getUserPrincipal() - returns null if user not authenticated 22.214.171.124.String HttpServletRequest.getRequestURI() - e.g. if request is �POST /some/path.html HTTP/1.1�, then returns �/some/path.html� 126.96.36.199.String HttpServletRequest.getServletPath() - returns servlet path and name, but no extra path info 188.8.131.52.HttpSession HttpServletRequest.getSession(boolean create) 184.108.40.206.HttpSession HttpServletRequest.getSession() - calls getSession(true)
[This message has been edited by Win Yu (edited October 29, 2001).] [This message has been edited by Win Yu (edited October 29, 2001).]
Hi Yu, Unfortunately the answer is Yes. Most of the method names are self explanatory except somemehtods such as getPathTranslated .... All the best. ------------------ Sreenivasa Kumar Majji Sun Certified Java Programmer SCJP Mock Test
Adithya, congrats for ur achievement! So how do u feel now, relaxed? Would u tell us the books u studied? ------------------ Muhammad Ashikuzzaman (Fahim) Sun Certified Programmer for the Java� 2 Platform --When you learn something, learn it by heart!
Yu, I did not get any of the APIs you mentioned in my exam, but I got other APIs from other classes/interfaces. So, it is always better to read the methods and their classes/interfaces. Ashik, I studied the two ORielly books for servlets and jsps. I have gone thru the specs. And the notes from Miftah, Velmurugan and Ken. I prepared a last minute reference which contains DD,TLD and the APIs. It can be accessed at www.geocities.com/sriadikav/LastMinuteReference.zip It was helpful atleast for me. Thanks everyone for the wishes.
Thnx Adithya that you prepared a last minute Tips for us... But in geocities the page was not available. can you mail it to me at --- email@example.com ? I have plan to buy Oreilly's Servlet Programming but for JSP i baught Wrox's "Professional JSP". Do you think i should go thru Oreilly's JSP also? ------------------ Muhammad Ashikuzzaman (Fahim) Sun Certified Programmer for the Java� 2 Platform --When you learn something, learn it by heart!
Ashik, I could access the geocities site, there may be some problem at your side, any way, I will mail that to you. I did not look at Professional JSP, so I cannot comment on that. You can access the links page and see what the ratings are for this book.
Originally posted by Poonam Akash: Congratulation Adithya, I wonder if i could also get WCD certified..will u plz tell me how to prepare the API as it is quite lengthy and i cant make "ratta" of it Bye, Poonam, SCJP2.
One way, I could remember some of the APIs is: see whether the method is related to HTTP or not, if it is, prepend the generic servlet class with Http. For ex: getHeader method is related to HTTP, because in HTTP request we have the header, in generic request, we may or may not have the request. So, this method belongs to HttpServletRequest. I hope you got what I am saying. HTH.
This guy is skipping without a rope. At least, that's what this tiny ad said:
a bit of art, as a gift, that will fit in a stocking