Originally posted by Madhav Lakkapragada:
Depends on the source of myJsp.jsp. If it uses any
Java classes (may also be called Beans), then you need these
classes to be in the CLASSPATH of Tomcat. Generally,
these should be placed either individually in the
webapps/myApp/WEB-INF/classes folder or in a jar file
in webapps/myApp/lib folders.
regds.
- satya
Originally posted by Fintan Bolton:
I would like to start off this thread by saying a few words to introduce myself and my book, Pure CORBA. I am a latecomer to the world of professional IT. My background was originally in the natural sciences, where I began my career in soap bubbles and then progressed to spend a few years researching quantum dots. In 1996 I joined IONA and for the past five years have divided my time between consulting and technical writing in the CORBA realm.
I should also say a few words about the book, Pure CORBA. Since it has only just rolled off the presses, I doubt that anyone has seen it yet (I haven't ). My main aim in writing the book was to produce a comprehensive introduction to and reference for the core CORBA features---the kind of book that would be useful to have at your elbow while coding. I also wanted to be faithful to the specification itself, instead of documenting a particular ORB implementation.
There are more details about the book on my website - http://www.pure-corba.com - for anyone who is interested.
I look forward to answering any question you might have about the book and CORBA in general.
Originally posted by Ajith Kallambella:
Guys, please keep away from digression. This forum is for discussing SCJP related topics only. I will be forced to close this thread if it contains anything that is not directly related to Java Certification. Ofcourse, you can discuss issues like this in the Meaningless Drivel.
Thanks!
Ajith
Originally posted by Christophe Lee:
So...uh....I never did find out the difference between the "mock exams" and the "sample test papers".
Originally posted by Thomas Paul:
Speaking for myself, if you copied anything from my site without permission I would send some boys to your house to give you a serious talking to. First off it's against the law to copy copyrighted material without permission. Second, it's a real scummy thing to do. This type of behavior is normally limited to sewer rats and other low forms of life. If you want to make a collection of mock exams then the best thing to do is to supply a link to other people's hard work. How is Marcus supposed to maintain his mock exam and update it if it's on your site?! If Marcus needs to correct an error and corrects his own page, he's then going to get stuck naswering complaints from people viewing his obsolete site on your pages.
Even worse, you are running banner ads over other people's work. So you are trying to make money off the hard work of others! Talk about low-life!
Originally posted by srinivas bolloju:
can any body pls explain :
1)what does pack() do here below??
2)my ans is as,borderlayout is the default mgr for frames,the 3 buttons will appear in center one on other,the top position occupied by three,am i right???
import java.awt.*;
public class FrameTest extends Frame {
public FrameTest() {
add (new Button("First"));
add (new Button("Second"));
add (new Button("Third"));
pack();
setVisible(true);
}
public static void main(String args []) {
new FrameTest();
}
}
Originally posted by Dave Vick:
Albert
Keep in mind that just because a thread gives up the lock on a monitor it doesn't stop running. It could have just left the synchronized part of the code. In which case it'll keep running until the scheduler schedules something else to run. A thread only needs to have the lock when it is going to be working on sychronized objects (blocks).
Dave
Originally posted by Drew Lane:
I don't want to psych myself out here, but does anyone know what percentage of people actually pass the SCJP exam the first time?
Regards,
Drew
Originally posted by sunil kathuria:
following question is from mock exam -SARGA.com
At what point is the object anObj available for garbage collection.
01: public class Base{
02:
03: private void test() {
04:
05: if(true) {
06: String anObj = "sample";
07: String locObj = anObj;
08: anObj.trim();
09: anObj = null;
10: locObj.trim();
11: }
12: }
13:
14: static public void main(String[] a) {
15: new Base().test();
16: }
17:
18: }
Select most appropriate answer
a) After line 7
b) After line 8
c) After line 9
d) After line 10
e) After line 11
answer given is -- >e
but whereever i think it should be c as when we set "anObj" to null it will be available for gc.
pl. tell me the right answer and correct me if wrong
thanks in adv.
sunil