Help coderanch get a
new server
by contributing to the fundraiser

deepesh soni

Greenhorn
+ Follow
since Jul 13, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by deepesh soni

IMO Only the object initially referenced by c will be garbage collected.
al.toArray(new String[0]) works like al.toArray() function if the list contain only String objects
On line 10
A a2=new A(new A(null));
the object which is created by calling "new A(null)" does not have any reference. So this object will be garbage collected.
i think one object will be eligible for GC. .......also a1, a2, a3 are references not objects ...so you cannot say

a2 is eligible for garbage collection

. Please correct me if i am wrong.

http://www.apress.com/book/view/9781590599457



starts with hello world example showing


but javafx.ui.* is not there in the apis ....can anybody tell whether its correct or not ???
15 years ago
thanks guys

tell me something difference about exam and exam mocks..



The exam had long questions (explaining every bit of the app you want to make and then asking a question from a specific part ). But these were easier than the those on the mocks.
15 years ago
You should read only the CORE jstl tags. Its specified in the the Objectives

'Given a design goal, use an appropriate JSP Standard Tag Library (JSTL v1.1) tag from the "core" tag library.'
Thanks Ulf
15 years ago
hi
can we disable the use of cookie by the server and use only URL Rewriting(jsessionID) for managing sessions???
15 years ago
Hi ranchers
I have just completed the SCWCD exam. But now i want to do something other than java. Where should i start (IBM Wepsphere/BEA WebLogic / Oracle OCA / Linux+ )......or should i stick with java only.
Hi,
Today I cleared SCWCD 1.5 with 88%.

I would like to thank HFSJ authors for excelllent book and all the ranchers for sharing usefull information.

My preparation Details

1. Read Head First Servlets and JSP book 2-3 times
2.Enthuware mock exams V4
3. Frederic Esnault notes (even though it is 1.4 version it is good for revision)
4. Peaboy Design patterns notes.(Just tooo good..i scored 100% in Design Pattern with its help)
5. Javabeat mocks
6. Specs.....(these are MUST HAVE...you should always have them and keep referring to them)
7. JavaRanch .....(Make it a home page of your browser)

Regards
Deepesh
15 years ago
Which of the following statements are true?
Choose at least one answer.
A. To configure the HttpSessionBindingListener interface the deployment descriptor must include the session-listener tag Incorrect
B. To configure the HttpSessionBindingListener interface the deployment descriptor must include the listener tag Incorrect
C. The HttpSessionBindingListener interface supplies the sessionBound method Incorrect
D. The HttpSessionBindingListener interface supplies the valueBound method Correct
E. The HttpSessionBindingListener interface supplies the attributeAdded method Incorrect


I have become really confused about what listeners to configure in DD
Which of the following statements are true?
Choose at least one answer.
A. Every (non distributed) web application has only one instance of ServletContext Correct
B. Every instance of HttpServlet has only one instance of ServletContext Incorrect
C. The ServletContext object is retrieved via the getServletContext method of ServletConfig Correct
D. The ServletConfig object is retrieved via the getServletConfig method of ServletContext Incorrect

my question is why is option 2 is wrong.(It is from examulator.com)