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

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -