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

📄 newcard.jsp

📁 中应用程序的访问权限对Java Web Console 中应用程序的访问权限 成功登录 Web 控制台后,可能无法自动访问在该控制台中注册的所有应用程序。通常,必须安装应用程序,才能让所有的用户在控制
💻 JSP
字号:
<%@ page contentType="text/html; charset=utf-8"%>
<jsp:directive.page import="java.text.SimpleDateFormat"/>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="nested"%>
<jsp:directive.page import="edu.yinhe.mis.vo.CardVO" />
<jsp:directive.page import="edu.yinhe.system.common.*"/>
<jsp:directive.page import="edu.yinhe.system.vo.*" />
<%
     String path=request.getContextPath();
     String basePath = request.getScheme()+"://"
                      +request.getServerName()+":"
                      +request.getServerPort()+path+"/";
 %>

<html>
	<head>
	 <title></title>
	</head>
<style>
body {
	background-color:#E6FDFF;
}
.ftd{
background-color: #bbdde5;
}
.gtd{
background-color:#f4fafb;
}
.put {
	background-color: transparent;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 1px;
	padding-left: 0px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 1px;
	border-left-width: 0px;
	border-bottom-style: solid;
	font-family: "宋体";
	font-size: 12px;
	color: #333333;
	text-decoration: none;
}
</style>
	<body>
		<form action="<%=basePath %>admins/bbs/card.html?method=addCard" method="post" name="form1">
			<table width="94%" border="0" align="center" cellpadding="0"
				cellspacing="0">
				<%
				    SimpleDateFormat sdf =  new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
				    java.util.Date d = new java.util.Date();
				 %>
				 <%LoginVO voo=(LoginVO)session.getAttribute(GlobalNames.SESSION_ID);  %>
				 <input name="SENDCARDER" type=hidden value="<%=voo.getAccount() %>"/>
				<tr>
					<td height="30" align="right" class="blackTitle">&nbsp;&nbsp; 
						标题: 
					</td>
					<td height="30">
						<input type="text" id="wordtitle" name="CARD_TITLE" class="textBox"
							size="45" maxlength="50" onClick="return aa()"/>
					</td>
				</tr>
				<tr>
					<td align="right" class="blackTitle">
						内容:
					</td>
					<td>
						<textarea id="content" name="CARD_CONTENT" rows="4" cols="60"></textarea>
					</td>
				</tr>
				<input type="hidden" name="CREATE_TIME" value="<%=sdf.format(d) %>" >
				<tr>
					<td>
						&nbsp;
					</td>
					<td height="35">
						<input type="submit" name="sub" value="发布" />
					</td>
				</tr>
			</table>
		</form>
	</body>
	<script language="javascript">
	function aa(){
	
	var m;
	if(!m){
		alert(sssssssssssssss)	
	}
	}
	
	</script>
</html>

⌨️ 快捷键说明

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