On 10/19/07, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...We have the Servlet Request Dispatcher, which IMHO should be used in > microsling (using as much of existing/known API as possible)...
Sure, that was the plan. > ...Thus a > script may easily do request.getRequestDispatch(path).include(req, res).... I agree that that would work, but Isn't that a bit ugly to do in a script? As it's something that people do all the time, I'd like to provide a simple call like "sling.include(relativeOrAbsolutePath)" to be used in ESP and Velocity templates for example. > ...Optionally, we might want to add support for retrieving a > RequestDispatchre using a Resource object, but I am not sure whether we > already require this in microsling.... Probably not, I agree. -Bertrand