web applications - Servlet Filter modify path to files -
could me implementation filter modify request files /dir/* /new_domain/new_context_path/dir/*
- map filter
/dir/* use
response.sendredirect(new_domain + "/" + new_context + request.getpathinfo())(see
getpathinfo()). note if it's possible have query-string (?foo=bar), you'd have append well.
Comments
Post a Comment