This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
understand the meaning of path , claspath first what u have to add in both ... path: its something related to making your command globally when once your pc starts .... like whenever u go to start - run and type cmd it will open dos window right?... who know what is cmd.. what to do when cmd is encountered
it is os which interprets it .. so if u want to make javac , java global command to be runned from any prompt.. or where u developed your .java file what u do is in mycomputer - properties - advanced go to environemtn variable and add path: c:\jdk1.2.2\bin or what ever your directory is now regarding classpath: why we need it .. when i say java .. it has something to do with jvm the classes and manythings in all .. right?... where do i find all this ... so what i do is to support your commands i load the modules when i start the os .. i.e make my jvm and the platform ready to execute the programs so in the same where u added path , go and add one more new CLASSPATH there specify your .jar files where u have installed jdk u can find .. c:\jdk1.2.2\lib\dt.jar this will make u compile and run your servlets... got it if more question come online on yahoo vijayshahbiis2003 or vijay_shah_78 will try to solve your problem online vijay