ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holger Hoffstätte <hol...@wizards.de>
Subject Re: Using the Built-in HTTP Server
Date Thu, 23 Jun 2005 17:52:44 GMT
Pedro Braga wrote:
> When I run the program it just starts and ends immediately without
> error!?!?

>    public static void main (String [] args) {
>        try {
>                      // Invoke me as <http://localhost:8080/RPC2>.
>            WebServer server = new WebServer(8080);
>            server.addHandler("sample", new JavaServer());
             server.start();

:)

Holger

Mime
View raw message