google-code-export / slim3

Automatically exported from code.google.com/p/slim3
1 stars 1 forks source link

Making Slim3 Controller & JSP runnable in ordinary non-GAE/J servlet container #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
   The Slim3 controller is an excellent framework which deserves wider usage environment. I have made Slim3 controller runnable in ordinary non-GAE/J environment by the following steps:

1. Copy FrontController.java from source repo into my project's 
org.slim3.controller package directory.

2. Remove the AppEngineUtil dependency from the FrontController.java copy.

3. The patched org.slim3.controller.FrontController is used as the front 
controller automatically by servlet container without changing web.xml setting 
provided by the Slim3 empty project template.

   Could you please add this non-GAE/J feature in upcoming release which could add a new context parameter to specify which kind of container (GAE/J which is default or not) the webapp will be in? 

   Thank you very much!

Original issue reported on code.google.com by mylee...@gmail.com on 9 Jun 2011 at 12:10

GoogleCodeExporter commented 9 years ago

Original comment by higaya...@gmail.com on 9 Jun 2011 at 6:31