java 301 跳轉

//301 跳轉
            HttpServletResponse response = (HttpServletResponse) ((ViewCommandContext) getCommandContext()).getResponse();
            response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY);
            response.setHeader("Location","http://XXX.coms");  
            return;get

相關文章
相關標籤/搜索