⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.jsp.svn-base

📁 用于JAVA的Web的权限过滤器
💻 SVN-BASE
字号:
<%@page contentType="text/html; charset=GBK" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>SecurityFilter Example</title>
</head>
<body>
<h1>SecurityFilter Example</h1>
<%@include file="/menu.jsp" %>
Welcome to the Security Filter example application. Use the menu above to navigate the site.
<hr>
<%=(((dev.trade.common.securityfilter.filter.SecurityRequest)request).isResourceAuthorized("Secure Page"))?"SecurePage Authorized":"SecurePage Not Authorized"%>
<br>
<%=(((dev.trade.common.securityfilter.filter.SecurityRequest)request).isResourceAuthorized("Forbidden Page"))?"Forbidden Authorized":"Forbidden Not Authorized"%>
<hr>
<h2>POST to the Secure Page</h2>
This form POSTs to the Secure Page. By entering a value here and clicking the submit button below, you can
verify that POSTed parameters are maintained through the login sequence.
<form id="loginForm"  action="<%=response.encodeURL(request.getContextPath() + "/securePage.jsp")%>" method="POST">
<input type="text" name="postMe">
<input type="submit">
</form>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -