doubt in JSP

hi ,

i was new to JSP, when iam learning jsp, i worte a jsp file for performing session tracking using jsp:usebean tag , for that i create a bean and i generate a class and i put that class in classes folder.

here i got a problem, when i call this in browser i got an error...... class not found. after trying 3 to 4 times i got the same error. i dont know why the error. i wrote all the code correctly and i deploy my application perfectly.

after that i got an idea to put that class in a package now i got the result without any error.

Why did we create a new package to perform beans?

[618 byte] By [krishna.maddua] at [2007-10-3 3:17:38]
# 1
Please use standard English. This is not a "doubt."
Dick_Adamsa at 2007-7-14 21:09:15 > top of Java-index,Java Essentials,New To Java...
# 2
As of JSP 2.0, it is illegal to refer to any classes from the unnamed (a.k.a. default) package (due to a change in java 1.4)You should never declare a class that is not in a package.
YoGeea at 2007-7-14 21:09:15 > top of Java-index,Java Essentials,New To Java...
# 3
> Please use standard English. This is not a "doubt."That would be British English, right? Not American English.
DrClapa at 2007-7-14 21:09:15 > top of Java-index,Java Essentials,New To Java...
# 4

> > Please use standard English. This is not a

> "doubt."

>

> That would be British English, right? Not American

> English.

In American English too it is not "a doubt". In no language does one "have a doubt in" something.

To doubt is a verb, not a noun.

One could say "I doubt JSPs usefulness for this project" for example but not "I have a doubt in JSP".

jwentinga at 2007-7-14 21:09:15 > top of Java-index,Java Essentials,New To Java...
# 5

There's no doubt in my mind you are correct. :)

Or did I just prove you wrong beyond a doubt? ;)

Of course you are right about the (ab)use of "doubt" in this case, but doubt can be a noun, too.

I've noted before that many people with names/nicks that seem to originate from India or thereabouts use the term "doubt" instead of "question".

Herko_ter_Horsta at 2007-7-14 21:09:15 > top of Java-index,Java Essentials,New To Java...
# 6
>Please use standard English. This is not a "doubt."pffffffffffffffffffffffffffffffffffffffffffff
java_2006a at 2007-7-14 21:09:15 > top of Java-index,Java Essentials,New To Java...
# 7

> There's no doubt in my mind you are correct. :)

>

> Or did I just prove you wrong beyond a doubt? ;)

>

Neither. He used the construct "to have a doubt" as a verb, which is incorrect as the word can't be used like that.

Of course even if it could the very meaning of the word is quite different from the intended "question" as "doubt" doesn't mean question at all but rather "reservation" (and no, that's not a reservation to a theater seat or restaurant table).

jwentinga at 2007-7-14 21:09:15 > top of Java-index,Java Essentials,New To Java...