62,615
社区成员
发帖
与我相关
我的任务
分享
<script type="text/javascript">
var pathname=window.location.pathname;
var arr=pathname.split("/");
var proName=arr[1];
window.location.href="/"+proName+"/test2/test2.jsp";
</script>
request.getContextPath()+"/test2/test2.jsp"
request.getContextPath()+路径