Now begins the Dumb questions. My classpath is location of the .java file or is it the default-ear/defualt-war/web-inf folder?
MTB From: Matthew Horn <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: JRun-Talk <[EMAIL PROTECTED]> Subject: RE: Compiling Servlet Error - Newbie Question Date: Fri, 12 Jul 2002 11:45:04 -0400 Received: from mc2-f38.law16.hotmail.com ([65.54.237.45]) by mc2-s3.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Fri, 12 Jul 2002 08:45:13 -0700 Received: from hof001.houseoffusion.com ([64.118.64.245]) by mc2-f38.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Fri, 12 Jul 2002 08:46:48 -0700 Received: from hof001.cfhosting.net ([64.118.64.245]) by hof001.houseoffusion.com (Post.Office MTA v3.5.3 release 223 ID# 0-54969U100L100S0V35) with ESMTP id com for <[EMAIL PROTECTED]>; Fri, 12 Jul 2002 11:48:04 -0400 message-id: <[EMAIL PROTECTED]> precedence: bulk References: <> Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 12 Jul 2002 15:46:49.0467 (UTC) FILETIME=[55C93CB0:01C229BB] Make sure that the jrun.jar file is in your classpath when you compile. And yes, storing it in the default-ear/defualt-war/web-inf/classes is a good idea if you want to use the servlet on the dfault server and it is not part of a bigger web application. For example: c:\javac -classpath c:/jrun4/lib/jrun.jar TestServlet.java -d c:/jrun4/servers/default/default-ear/default-war/WEB-INF/classes -----Original Message----- From: Boogie Brown [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 11:40 AM To: JRun-Talk Subject: Compiling Servlet Error - Newbie Question I am trying to run servlets, for the first time, using JRun 4.0. I am compiling my first servlet and I get: C:\JRun4\servers\default\default-ear\default-war\WEB-INF\classes\TestServlet.java:5: package javax.servlet does not exist import javax.servlet.*; ^ C:\JRun4\servers\default\default-ear\default-war\WEB-INF\classes\TestServlet.java:6: package javax.servlet.http does not exist import javax.servlet.http.*; ^ What is the deal with this? Also where am I supposed to place my compiled servlet? Is it in the: C:\JRun4\servers\default\default-ear\default-war\WEB-INF\classes. Please help and newbie. . . Thanks in advance. . . MTB ______________________________________________________________________ Get the JRun Web Application Construction Kit - the only book written specifically for JRun developers. http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
