Kelvin Mak

Ranch Hand
+ Follow
since Oct 04, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Kelvin Mak

hi all,
I write a Servlet to call a jsp file with RequestDispatcher class, but the jsp cannot load the css style, and I had set no cache in the meta tag. Any one meet this situation?
Here is the code in servlet

thx in advance!
Kelvin
21 years ago
JSP
I am a new guy in here, any one would recommand me what books is good for SCJD1.4? I have passed SCJP1.4 at last year. Any reply will be highly appreciated!!
thx,
Kelvin
hi all,
javax.naming.NameNotFoundException: Name MySQLDB is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:811)
at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
at org.apache.naming.NamingContext.lookup(NamingContext.java:822)
at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at org.apache.jsp.dbtest_jsp._jspService(dbtest_jsp.java:57)
my server.xml as followin
I try to connect mysql and sqlserver2k with JNDI DataSource, alway alert me "Name MySQLDB is not bound in this Context". Anyone ever succeed done with this situation? Any reply will be highly appreciated!!
Kelvin
-- edited by MC to use code tags
[ March 22, 2003: Message edited by: Mike Curwen ]
21 years ago
I am using DB2 V8.1 trial version, and try to connect with JDBC. My code as following.

It always complain "No suitable driver", I check my reference about the driver string, it is ok. Is it any limit in the db2 trail vesion? Any one meet this situation? Why it cannot use the jdbc driver? thx in advance.
Yan, what is your next target? Nice to meet you.
21 years ago
As many people mention, take care the GC and thread. I don't want repeat again. Additional, I found there are many array question in my real exam, about 4 question invoke the array of args[]. Take care the Collection framework, I feel quit good at collection framework before I take the exam, just I just got 33% . There are not only the concept question about the Collection Frame work, they will give u a fragment of code, and ask you which is correct.
Except these, other question is very easy, at last, read the code carefully, don't lost in the stupid trick qestions.
21 years ago
I know scjp1.4 is out, and scjd1.4 will out soon, how about the scwcd? thx
Congratulations! yan, r u chinese?
21 years ago
Today I passed!! Thank you the great site and all the rancher, especial to Dan, Jessica, Kathy, james... thank you all guys share they experience and reply my questions. I deelply love this place now. .
I prepare scjp1.2 about 1 month and decide to approach it. But at this time, scjp1.4 is out, so I have to learn the new topic of 1.4. It is a pain time for me... :roll:
so i decide pass it as soon as possible. Although my score is not high, just 83%, but i am satisfied.
I next target is IBM OOA/OOD with UML and SCWCD. I don't know I shall take which first. I also want take the OCP, but I have no so much money to pay the exam, so I want take the IBM DB2 instead of it.
I am come from china, if any ranchers is chinese, nice to meet you. I hope contact you also.
At last, Thank you all....
21 years ago

Originally posted by Kathy Sierra:
I'm pretty sure that we did away with ALL fill-in questions on the 1.4 exam. So you don't have to worry about it : )



thank you, Kathy!
Jessica,
Pls note the setX, setY method, no matter when you call it, it always set the x = 1, y = 1. so that is reason why cannot return true.
Thanks for disable the smilies!
[ November 17, 2002: Message edited by: Kelvin Michael ]
Great shot Yan!!! congraducation!!
21 years ago
for example, if the answer is: super.print();
Need i fill in the textarea like this: "super.print();"?
thx.
Whthout/with the synchronized keyword will very different answer! Becareful if anyone meet this question again.
haha...
thx,Jamal. I found two version about this thread at mock exam, but they are difference.

[ November 16, 2002: Message edited by: Kelvin Michael ]
[ November 16, 2002: Message edited by: Kelvin Michael ]