Scalatra - how do we do an internal redirect / forward of request -
i want call internal url scalatra 'controller'. can't simple redirect, there's security settings mean user has access first url.
is there way this?
get("/foo") { servletcontext.getrequestdispatcher("/bar").forward(request, response) }
Comments
Post a Comment