Re: db woes big time...
From: Bryce (spamtrap_at_berzerker-soft.com)
Date: Tue, 15 Feb 2005 11:11:08 -0500
On Mon, 14 Feb 2005 17:39:32 -0500, Frances Del Rio <email@example.com>
>>>now this is name of servlet, conn.java.. it web.xml I have:
>> So you must have a class named "conn" in the package "com"... Do you?
>yes I do indeed, Bryce, this is why this is so weird..
>in package 'com' I have conn.java... (i.e., conn.class..)
is it conn or Conn (Java standard says that class names should start
with an uppercase letter, but its just a standard, nothing that would
keep it from compiling. But, the class name and file name have to be
the same, even by case.
Does it follow the following directory structure?
>> No, you don't need a "main" method in a servlet.
>oh?.... that's a surprise.. I've read again and again that all apps (I
>thought by that was meant stand-alone's and servlets..) HAVE to have a
Nope. Don't need it. Unless you are running it as a standalone
application. Servlet definitely doesn't need it. Just need the doGet,
or doPost (depending on if you are handling a get or post method)
-- now with more cowbell