Re: [Simpleweb-Support] is there a simple template velocity howto ???
Brought to you by:
niallg
From: Niall G. <nia...@an...> - 2004-06-22 15:42:52
|
Hi, As for the error below, this seems to be a new bug!! i have fixed it and it will be updated in the next release. Niall On Tue, 2004-06-22 at 16:24, Saxon FJELDSTED wrote: > Thanks!!! everything is working now. just some weird > error... below > > > > LoaderEngine engine = new MapperEngine(); > > > get a null pointer exception if using empty > constructor. this is the correct behaviour? > work fine if I pass in a context and container. > > Container container = new VelocityContainer(); > LoaderEngine engine = new MapperEngine( new > FileContext(), container); > > engine.link("*", "default"); > engine.load("my", "MyService", container); > engine.link("/service/my*", "my"); > > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - 100MB free storage! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Simpleweb-Support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simpleweb-support > |