[quote=引用 4 楼 donggua3694857 的回复:] iframe的src里面不和你现在的在同一工程里面么?如果是在同一工程下那没必要将ip写出来吧。通过request获取
iframe的src里面不和你现在的在同一工程里面么?如果是在同一工程下那没必要将ip写出来吧。通过request获取
用JSP的相对路径: String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 把IP地址换成 <a href = "<%=basePath%>/xxx">
81,091
社区成员
341,718
社区内容
加载中
试试用AI创作助手写篇文章吧