Re: [Simpleweb-Support] Problem using the tutorial
Brought to you by:
niallg
From: Niall G. <gal...@ya...> - 2006-03-31 16:43:43
|
Hi Vincent, I would recommend you download the demo package from simpleweb.sf.net/download. The problem you mention is due to an error in the LoaderEngine.load method. on line 283 the source shows load(name, className) it should show load(name, className, new Object[]{}) The demonstration should be a little simpler to use, than the tutorial, which is slightly out of date. Niall --- Vincent Etter <vin...@gm...> wrote: > Hello ! > > I'm trying to have the DemoServer and the > HelloService from the tutorial > working, but I'm lost. If I copy/paste the code from > the tutorial, the > server runs, but I always get a 404 error, whatever > url I try. > > I tried to load and link manually the HelloService > to a specific URL, but > doing this the DemoServer doesn't even run : it > crashs and throws this : > > Exception in thread "main" > java.lang.StackOverflowError > at simple.http.load.LoaderEngine.load(Unknown > Source) > at simple.http.load.LoaderEngine.load(Unknown > Source) > .... > > What does it mean ? > > Does anybody have a basic example of a server and a > service that works ? > Thanks a lot for any help ! And sorry for my > english... > > Vincent Etter > Niall Gallagher __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |