在web首次访问页面时怎么先加载action中数据

xiaoxiao2022-06-23  52

在index.jsp 中使用:

 

<%@ page contentType="text/html; charset=GBK"%><html> <head>    <script type="text/javascript">         window.οnlοad=function()          {              top.location.href="<%=request.getContextPath()%>/account/login.action";           }   </script> </head> <body> </body></html>

转载请注明原文地址: https://www.6miu.com/read-4953065.html

最新回复(0)