?? topiclistinsert.jsp
字號:
<%@ page contentType="text/html;charset=GB2312" language="java" %><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %><%@ taglib uri="/WEB-INF/app.tld" prefix="app" %><html:html ><head><title></title><app:CheckLogon role="system;guest"/></head><body bgColor=white><html:base /><%@ include file="include_head.jsp"%> <div align=center><font face=黑體 color=#0000ff size=5>發(fā)表新主題</font> <hr> <logic:equal name='topicListForm' property='image' value='http://'> <html:form action="/fileAction.do?action=fileup" enctype="multipart/form-data" method="post" onsubmit="return validateTopicListForm(this);"> <input type="hidden" name="parentID" value="<bean:write name='topicListForm' property='parentID'/>"> 請輸入或選擇要上傳的文件: <br><html:file property="theFile" style="width:300"/><br> <html:submit value="文件上傳" /> </html:form> </logic:equal> <logic:notEqual name='topicListForm' property='image' value='http://'> 你已成功地上傳了文件: <bean:write name='topicListForm' property='image' /> </logic:notEqual> <form action="/StrutsBBS/topicListAction.do?action=insert&search=search&expression=<bean:write name='topicListForm' property='parentID' /> " method=post name="topicListForm" onsubmit="return validateTopicListForm(this);"><html:hidden name="topicListForm" property="ID" /> <html:hidden name="topicListForm" property="topicID" /> <html:hidden name="topicListForm" property="parentID" /> <html:hidden name="topicListForm" property="username" /> <html:hidden name="topicListForm" property="order" /> <html:hidden name="topicListForm" property="hits" /> <html:hidden name="topicListForm" property="child" /> <html:hidden name="topicListForm" property="IP" /> <html:hidden name="topicListForm" property="image" /> <table cellSpacing=1 borderColorDark=#ffffff cellPadding=3 width="90%" bgColor=#e6f2e7 borderColorLight=#008000 border=2> <tr> <td width="10%" align="center">主題</td> <td width="90%" align="center"><html:text name="topicListForm" property="topic" style="width:100%" /> </td></tr><tr> <td width="10%" align="center">文件</td><td width="90%"> <html:text name='topicListForm' property='image' style="width:100%" /> </td></tr><tr> <td align="center">內(nèi)容</td><td><html:textarea name='topicList' property='body' value="" style="width:100%; height:160" /> </td></tr></table> <html:submit value="發(fā)表新主題" /> <html:reset value="重寫" /></form ></div><html:javascript formName="topicListForm"/><html:javascript formName="fileForm"/><%@ include file="include_end.jsp"%></body></html:html >
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -