Cameron Park

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

Recent posts by Cameron Park

I am not sure whether B can inherit from A and at the same time has lesser accessibility(default) than A(public).
What if I specified the uri path to the tld in a web.xml, and then used that uri in my taglib directive?
22 years ago
JSP
I have a question about tag library descriptor. I specified in my JSP a URI for the taglibrary descriptor as "/hello". And I placed the tld file in Web-inf directory. The question is when I tried to open the JSP. Tomcat says can not open library descriptor "C:\tomcat\webapp\thisWebApp\hello" I don't know why tomcat doesn't recognize the taglib's uri and trace to the proper tld file but instead taking the uri somehow as a file and could not open it!
Thanks for your help.
22 years ago
JSP
Hi, I have a feeling that many of the questions posted here are quite twisted that it's almost like searching for bugs in JVM. Is there anyone out there can tell us whether the exam is as into the trivials as many of the questions posted?
Thanks.
I don't understand why is "in start" printed before "in run"? Shouldn't super.start() print "in run" when it invoke run(), then "in start" was printed?
Thanks.
What happens when you invoke a constructor for FileOutputStream as
new FileOutputStream(SomeFile);
But there is no SomeFile the file nor SomeFile the directory?
Thanks.
Angela, you need to decalre both P1 and afancymethod public. Having only default access, P2 has no access to them whatsoever.
Why don't you run it and find out?
What does it mean by "locale-specific object"?
23 years ago
I need to know what exactly is ResourceBundle, and what exactly does its getBundle() do?
Does it read off a properties file?
23 years ago
What are the main differences between tomcat and Weblogic servers?
23 years ago
I need to know what exactly is ResourceBundle, and what exactly does its getBundle() do?
Does it read off a properties file?
23 years ago
You can write your own method, counting the positon of each digit, then appending "hundred", "thousand", etc. Of course, below hundred you need a switch to append the "ten", "twenty", etc.
I uncommented that line and javac compiled with no problem. I was using jdk1.3 on Windows98. Explicit casting between two classes that are in any kind of heirachical relationship is allowed. Implicit conversion only works up the inhertance heirachy.