if your javax.* files are not inside a jar file your directory structure
should look like this:
  \base_dir
    \javax
      \the rest of dir
and your path should point to the base_dir directory.

If your javax.* files are inside a jar file your path shold point to the
dir. containing the jar or directly to the jar.
I dont think IIS or SQL Server has anything to do with compilation.

Nic

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Steve
Martin
Sent: Tuesday, March 13, 2001 6:38 PM
To: [EMAIL PROTECTED]
Subject: Servlet Compilation Help


I'm still buffalo'd, can someone help me with my set up?

I have Jdk1.3.0_02 and Jsdk1.2.2 installed on IIS5.0, SQL Server 7. I was
given an example Servlet that uses Jdbc-Odbc bridge to access one of my
databases. I'm having trouble compiling the Servlet, where it can't find
"javax.servlet.*" or any of the import(s).

The javax.* files are in a subdirectory of Jsdk1.2.2 (like \apidoc), and my
Path points to the directory. Am I missing something? Basically, what should
my environment look like, and what else should I have in order for my .java
to "see" the imports?

I'm using JRun3.0 as my Servlet engine, and I have Tomcat installed too (but
not running concurrently).

Any help would be greatly appreciated!!!

Thank you!!

~ Steve

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to