Women in Technology

Hear us Roar



Article:
  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

Main Topics Oldest First

Showing messages 1 through 1 of 1.

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

    The file is just called login.java and it is contained in the folder 'classes/com/onjava/'