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

Reply via email to