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

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -