I have a problem that's different from all those reported in the 
archives. My problem is that it gives me a blank page.

I'm using tdk-1.1a9 with all default values. 
http://localhost:8080/test/servlet/test worked fine. The 
HelloWorld.class (source codes are copied from "Getting Started" and are 
listed at the end of this message) resides in the same place as 
Default.class. This is the url I used

http://localhost:8080/test/servlet/test/screen/HelloWorld

and it gave me a blank page, here's its source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" 
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html><head><title></title></head><body></body></html>

And here's my HelloWorld.java codes

package org.apache.turbine.modules.screens;

// Turbine Modules
import org.apache.turbine.modules.*;
import org.apache.turbine.util.*;

// ECS Classes
import org.apache.ecs.*;
import org.apache.ecs.html.*;

public class HelloWorld extends Screen
{
     public ConcreteElement doBuild(RunData data) throws Exception
     {
         // Set the title of the page.
         data.setTitle("Hello World");

         return new StringElement("Hello World");
     }
}

Any clues?

John



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to