ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Deploying Web Applications to Tomcat
Subject:   com.onjava.login.java CONFUSION!
Date:   2003-10-08 08:57:41
From:   anonymous2
Hi guys,

I'm a little confused on Listing.4 of page 3.
Is the java file named as com.onjava.login.java?
Because the class name of the program is called login, therefore, I get some error msg saying the file should be name login.java.

So i tried renaming the file to login.java, but that just generated for error msgs.

So can someone clarify to me whether the file name is com.onjava.login.java or login.java?

Also, what's with the pack com.onjava?
Should i create the additional folders named com & onjava?

Thanx in advance

1 to 1 of 1
  1. com.onjava.login.java CONFUSION!
    2004-01-10 17:43:20  anonymous2 [View]

1 to 1 of 1