Help coderanch get a
new server
by contributing to the fundraiser

Sanjivi Syamsundar

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

Recent posts by Sanjivi Syamsundar

Do you get to know the exact number of correct choices in a multiple chouce question - like choose 2 ot choose 3?
Can you specify the location of login.html with respect to your application and the URL you are using to request the page. Something like

<tomcat>\<web-app>\login.html and

http://127.0.0.1:8080/web-app/login.html
Why is the bold line an error. It is just like declaring a local variable x. The other x is an instance variable. So the answer is x=5 and x=5 which is not one of the choices and hence the error.

Correct me if there is anything wrong with my conclusion.
I would like to add that the -classpath option overrides the existing classpath and uses only the jar mentioned in the command line. I had problems while compiling a servlet with 2 jar files. I added this one to the classpath in windows to overcome the problem.