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

📄 createnews.ftl

📁 struts spring hibernate实现的简单新闻系统
💻 FTL
字号:
<#global html=JspTaglibs["/WEB-INF/tags/struts-html.tld"]>
<#global bean=JspTaglibs["/WEB-INF/tags/struts-bean.tld"]>
<html>
<head>
<title>新闻发布</title>
<link href="style/style.css" rel="stylesheet" type="text/css">
<@bean.page id="request" property="request"/>
<#assign contextPath = request.contextPath/>
</head>
<body>
<table width="80%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <@html.form  method="post" action="/addNews">
  <input type="hidden" name="action" value="create">
  <tr>
    <td width="36%" height="25">&nbsp;</td>
    <td width="64%" height="25"><@html.errors/></td>
  </tr>
  <tr>
    <td height="25" align="right">新闻标题:</td>
    <td height="25"><@html.text property="vo.newsTitle" styleClass="input1"/></td>
  </tr>
  <tr>
    <td height="25" align="right">新闻来源:</td>
    <td height="25"><@html.text property="vo.newsFrom" styleClass="input1"/></td>
  </tr>
  <tr>
    <td height="25" align="right">作 者:</td>
    <td height="25"><@html.text property="vo.newsAuthor" styleClass="input1"/></td>
  </tr>
  <tr>
    <td height="25" align="right">新闻内容:</td>
    <td height="25">
    <@html.textarea property="vo.newsContent" cols="80" rows="10"/>
    </td>
  </tr>
  <tr>
    <td height="25" align="right">发布日期:</td>
    <td height="25"><@html.text property="vo.newsDate" styleClass="input1"/></td>
  </tr>
  <tr>
    <td height="25" align="right">&nbsp;</td>
    <td height="25"><@html.submit  value="确 定" styleClass="button1"/>&nbsp;&nbsp;<@html.button  value="重 置" styleClass="button1"/></td>
  </tr>
  </@html.form>
</table>
</body>
</html>

⌨️ 快捷键说明

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