Hey guys, figured it out!

the class path that I was looking for and never found, or couldn't find ..
was due to the way the JWS started up.  The JWS starts up and uses the
current working directory as the initial starting point for the class path.
>From here is passes all the possible locations for class files to the JRE
and JSERV.  (I found this out by doing a verbose. =)

One other thing that I noted was that the directory Classes didn't exist
after the JWS 1.1.3 was installed.  However, the Class Path that was being
passed to the JSERV included it.  I created this directory and placed my
HTML.class file into it.  I also created a package of this class .. package
com.reliable and placed it just about everywhere the classpath was pointing
to  (I still have yet to figure out which one it really needs though)=

Upon doing this I also added another class path when starting up the JSW to
point to "c:\winnt\java\classes"

Amongst all this it finally found the HTML.class I created, and fired it
off!

Sorry for all the frustration I caused, but had this been more clearly
documented ... hint hint .. SUN!  I wouldn't have had to work 2 days to
figure this out!  And, will someone please write a book on writing and
deploying JSP applications using Java Classes and JDBC.

Michael J. Fuhrman
Reliable Business Computers
http://www.creliable.com


-----Original Message-----
From: Michael Fuhrman [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 27, 1999 3:09 PM
To: [EMAIL PROTECTED]
Subject: Newbie Question


Thanks for being patient ..

Again, the questions being where do I place the HTML.class so that the JSP
file can find and use it.  I'm using JWS 1.1.3 under NT 4.0.  I've loaded
Java 1.1.8, MS JVM 3.2 build 3186.  You might also wish to insure that I've
got the syntax correct for the JSP file, shown below.

The ClassPath is set to "C:\winnt\java\classes", and I've placed the
HTML.class file In "c:\winnt\java\classes\reliable"

However, I get the following error?

Error getting compiled page

D:\java\JWS1.1.3\bin\..\pagecompile\_tests\_helloworld2_xjsp.java:12:
Package reliable not found in import.

import reliable.*;
       ^
1 error

Michael J. Fuhrman
Reliable Business Computers
http://www.creliable.com

>
> <java type=import>
>       java.util.*
>       java.text.*
>       reliable.*
> </java>
>
> <html>
> <head>
> <title>Hellow World & Date</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> </head>
>
> <body bgcolor="#FFFFFF">
> <java>
>       DateFormat df = DateFormat.getDateTimeInstance ();
>       HTML htm = new HTML ();
> </java>
>
> Hello World on <java> out.println (df.format (new Date ())); </java> <P>
> <java> htm.Attrib_Bold ("Hello Michael"); </java>
>
> </body>
> </html>
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to