📄 add.jsp
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<title>添加书签</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<meta http-equiv=content-type content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="styles.css" >
</head>
<body>
<html:form action="/fav" method="post" focus="item.label">
<div class="banner" valign="top">
<img src="images/logo.gif"></img> 青鸟搜藏
</div>
<input type="hidden" name="op" value="doAdd" />
<table border="0" class="input_table">
<tr>
<td>名称:</td>
<td><html:text property="item.label" size="40"/><br /><html:errors property="label" />
</td>
</tr>
<tr>
<td>链接:</td>
<td><html:text property="item.url" size="40" /><br /><html:errors property="url" /></td>
</tr>
<tr>
<td>Tag:</td>
<td>
<html:text property="item.tags" size="40" /><br />
<span style="font-size:12px;color:green;">可以多个,用“,”隔开</span>
</td>
</tr>
<tr>
<td>描述:</td>
<td><html:textarea property="item.desc" rows="4" cols="39"></html:textarea></td>
</tr>
<tr>
<td colspan="2" align="right">
<button onclick="window.close();"> 取 消 </button>
<html:submit> 提 交 </html:submit>
</td>
</tr>
</table>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -