Dan, where your compiled file goes depends on what you are using to compile. Are you working within an IDE or from the command prompt? If from the command prompt, the .class file will simply be put in whatever directory you are in (if you do not have a package statement in your code). If you put a package statement, that path will be created, starting at whatever directory you compiled from, and the class file will be located there. For example, assuming a DOS environment, if you are at the c:\ prompt in a directory called myjavacode and you are compiling a file called MyJavaBean.java you do this: c:\myjavacode javac MyJavaBean.java If there is no package statement, you will see that the resulting .class file will be located in c:\myjavacode. If you have the following package statement in your code: package com.mycompany.beans; Your .class file will be located in the c:\myjavacode\com\mycompany\beans directory. Personally what I like to do is have a classes directory to keep all of my compiled code in. Then I use the javac -d command to compile my java code to that directory. All I have to do is point my classpath to that directory, and everything is arranged nicely there according to package. Your mileage may vary. Good luck:-) thanks, Liz Stanley Web Specialist MedAssets.com (678) 323-2546 [EMAIL PROTECTED] -----Original Message----- From: Dan Briscoe [mailto:[EMAIL PROTECTED]] Sent: Friday, April 28, 2000 10:22 AM To: [EMAIL PROTECTED] Subject: NAS 4.0 Hello! Can someone please tell me in plain english where I put my beans class file? I am running netscape application server 4.0 on netscape enterprise web server 4.0. Does it go somewhere in the NAS directory, the NES directory or somewhere else. In the 'additional directorys' on NAS 4.0 I point to a 'jsp' directory, but it does not see the bean class file there. Also, how do I make it part of a package? Other than just putting 'package java.com.etc..' at the top, where does the file physically get placed? Thank-you!! Dan ======================================================================== === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
