<!--功能按钮-->
<div align="center">
<input type="button" name="register" value="退出"
onClick="javascript:window.location.href='<%=request.getContextPath()%>/WebRoot/pages/baobiaoReturn.jsp'" >
</div>
请问这段代码有什么问题吗?一直不能实现
<div align="center">
<input type="button" name="register" value="退出"
onClick="javascript:window.location.href='<%=request.getContextPath()%>/WebRoot/pages/baobiaoReturn.jsp'" >
</div>
请问这段代码有什么问题吗?一直不能实现
就是不该写那个WebRoot的