navodit

Greenhorn
+ Follow
since Dec 03, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by navodit

Dear MahaAnna
I am tring simple servlet having one class file and on html file
And as u said I made
C:\tomcat\webapps\MISApp\WEB-INF\classes\serv1.class
above directories and put my servlet class file named serv1.class
in abobe directory
and used the URL http://localhost:8080/misapp/serv1 But my server
reported error:
Error: 404
Location: /misapp/serv1
File Not Found
/misapp/serv1
So what should I do
Rest as u said i am changing my regd name.
Thanx for reply,
Navodit
23 years ago
Hi all

First of all my tomcat is running very fine, I am able to run the servlets given as example in my tomcat server at http port 8080.
But I am facing one problem that how can I run the servlets made by me ???
where should I place it in the tomcat directory i.e. html file and class file of servlet should be addressed with what thing http://localhost:8080/examples/servlets/***.html(is it right)
Plese guide me.
23 years ago
Hi .,
regarding Q1 when we make int in place of String then proram
displays "Object Vesion"
why now "object Version"
public class xxx
{
public void method(Object o)
{
System.out.println("Object Version");
}
public void method(int s)
{
System.out.println("String Version");
}
public static void main(String args[])
{
xxx question = new xxx();
question.method(null);
}}
Please clarify.
, Afterall whatis null, wheter object or string???
Hi all;
goto, const are reserved keywords and same
is true false, null
navodit
Dear Angel
I have got one doubt as Strings are immutable objects,
So is it not ? that "String".substring(0,6) method invoked on "String" object result in creation of another object.
As == does:-
Comparision of two object references whether they refer to same instance.

Navodit
Hi all,
How many public classes can be there in one java Programme.
Pl tell me .
Navodit
Hi Dear
Pl mail me tutorials at
navodit@yahoo.com
navodit