Stephen, Jon,
Thanks a bunch for your help. This is very clear.
The example is the way like in all programming 101's Hello World makes it
easy to work with and understand.
I am working in an NT env.
I dont want to take much of your time. Can you please answer, why I would be
getting the
following when comiling.
Example.java:2: package org.apache.ecs.html does not exist
import org.apache.ecs.html.*;
^
Example.java:11: cannot resolve symbol
I have the env set right, Have the ECS zip file downloaded, is there a
special set up for
this to work.
Thanks very much, appreciate your help.
-----Original Message-----
From: Stephan Nagy [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 8:29 AM
To: [EMAIL PROTECTED]
Subject: Re: Can someone please help using ECS
NADELLA, RAO S (SBCSI) wrote:
>
>Would someone be able to help us newbies by putting a brief list of
>instructions:
>explaining the process from download to implenting in the java code files.
>
>For some of you experienced gurus, this may sound silly, but it would be
>extremely
>helpful for people who are just starting out.
>
I'll take a stab at a code example for you.
import org.apache.ecs.html.*;
public class Example
{
public Example() {}
public static void main(String[] args)
{
Html html = new Html();
Head head = new Head();
Title title = new Title();
Body body = new Body();
title.addElement("Example.");
head.addElement(title);
body.addElement("Hello World!");
html.addElement(head);
html.addElement(body);
html.output(System.out);
}
}
-stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]