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

📄 profileselection.jspf

📁 这是linux下ssl vpn的实现程序
💻 JSPF
字号:
<%@ page import="java.util.List" %>
<%@ page import="com.sslexplorer.properties.PropertyProfile" %>
<%@ page import="com.sslexplorer.security.Constants" %>
<%@ page import="java.util.Iterator" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="/sslexplorer/taglibs/explorer" prefix="explorer" %>
<%@ taglib uri="/sslexplorer/taglibs/navigation" prefix="navigation" %>
		
<%@page import="com.sslexplorer.boot.Util"%>
<%@page import="com.sslexplorer.core.CoreUtil"%>
<navigation:inUserConsole>
	<navigation:menuAvailable>
		<div id="component_profile_selection" class="component_messageBox">
			<table width="100%"  border="0" cellpadding="0" cellspacing="0">
				<thead>
					<tr>
						<td>
							<bean:message key="messages.profileSelection" bundle="navigation"/>
						</td>
					</tr>
				</thead>
				<tbody>			
					<tr>
						<td> 
							<select id="profileSelector" onchange="<%= "self.location = '/selectPropertyProfile.do?referer=' + window.location.pathname + '&selectedPropertyProfile=' + document.getElementById('profileSelector').value" %>" name="selectedProfile">
		 	<% 	List profiles = (List)session.getAttribute(Constants.PROFILES);
		  		PropertyProfile selected = (PropertyProfile)session.getAttribute(Constants.SELECTED_PROFILE);
		  		if(profiles != null) {
		  			for(Iterator i = profiles.iterator(); i.hasNext(); ) { 
		  				PropertyProfile profile = (PropertyProfile)i.next(); %>
				 				<option value="<%= profile.getResourceId() %>"" <%= profile.getResourceId() == selected.getResourceId() ? " selected=\"selected\"" : "" %>><%= profile.getResourceName()%></option>
			<%		}
				}  %>
							</select>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
	</navigation:menuAvailable>
</navigation:inUserConsole>

⌨️ 快捷键说明

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