Spring MVC 如何跳转项目以外的地址?

Summer_東 Summer_東 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
@RequestMapping(produces = "select")
private String getPid(ProductCatalogEntity bean, Model model,HttpServletResponse response) {
boolean pid = productCatalogService.getPid(bean, model);
if(pid){
//return "Info.jsp";
// return new ModelAndView("redirect:/http://192.168.1.115:8090/jeeshop/product/10321.html");
return "redirect:/http://192.168.1.115:8090/jeeshop/product/10321.html"; 要跳转的地址

}
return null;
}
试了很多方法都没解决 跳转的总是当前项目下的地址,求大神解决 还需要带参数跳转
...全文

相关推荐

评论 4
收藏 已收藏
分享
返回顶部
Summer_東
Web 开发 81,108 成员 341,721 内容