Re: [Simpleweb-Support] Problem of trying simple
Brought to you by:
niallg
From: Carfield Y. <car...@gm...> - 2005-10-02 17:24:04
|
> You can set the response code using Response.setCode. > Thx , that what I look for. > > Haven't notice that some interface API haven't been > > implemented... > > I am not sure what your are asking here? > Nothing ask, just sorry for asking question which api document have show. > Anywhere within the context root the current working > directory or anywhere the Locator can reach. Look at > simple.http.serve.FileLocator. > > System.setProperty("simple.http.load.mapper","simple.http.load.PatternMap= per"); > > > > To set the mapper using, but how can I change the > > resolve properties > > that mapper.xml tell the system? > > Edit the mapper.xml file, its loaded once on startup. > I would like to package the software as a java web start application, in order to make the process easier, I will like to prevent config file as much as possible. In fact, there is only one ActionService so I would like to tell simple to that ActionService at code but not in XML file, is it possible? > One instance is created, if the TemplateEngine will > reload the class if it is modified though. I would set > a Controller attribute. For example: > > controller.set("core", new Core()); > > And within the ActionService.prepare acquire the > instance doing the following: > > core =3D (Core) system.get("core"); > ok, thx for the hint, and how about clean up part? |