Edit D:\chineseall_products\chineseall_digitallib\digitallib\digitalLib6\admin\user\replyUserOpinion.jsp
??<%@ page contentType="text/html;charset=utf-8" %> <%@ taglib prefix="s" uri="/struts-tags"%> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>??????????????</title> <link rel="stylesheet" type="text/css" href="/style/style.css" /> <style> body{font-size:14px;color:#000;background:#fff;} </style> </head> <body> <div class="crumbs tl">????????????????? >> ????????? >>????????? </div> <div class="mainCon"> <form id="createSubjectForm" name="createSubject" action="replyUserOpinion.action" method="post"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="addTable"> <tr > <td width="20%">???</td> <td width="80%" > ${opinion.title} </td> </tr> <tr > <td width="20%">??????/???</td> <td width="80%" > ${opinion.userName} / <s:date name="opinion.createTime" format="yyyy-MM-dd HH:mm:ss"/> </td> </tr> <tr > <td width="20%">???</td> <td width="80%" > <s:property value="opinion.content.replaceAll('\r','').replaceAll('\n','<br/>')"/> </td> </tr> <tr > <td>??????</td> <td> <textarea name="opinion.replyContent" id="replyContent" style="width:95%;height:200px;" oninput="displayWordCount();">${opinion.replyContent }</textarea> <span id="inputwordCount">(?????1000???????? 0??)</span> <script>document.getElementById("inputwordCount").innerHTML = "(?????1000????????"+document.getElementById("replyContent").value.length+"??)";</script> </td> </tr> <tr > <td> </td> <td align="left"> <input type="hidden" id="opinionId" name="opinion.id" value="${opinion.id}" /> <input type="hidden" name="currentPage" value="${currentPage}" /> <input type="button" class="searchBtn" onclick="dosubmit();" value="???" /> <input type="button" class="searchBtn" onclick="returnListPage();" value="???" /> <font color="red"><s:property value="info" /></font> </td> </tr> </table> </form> </div> <script type="text/javascript"> function returnListPage() { var obj = document.getElementById("createSubjectForm"); obj.action = "listUserOpinion.action"; obj.submit(); } function displayWordCount() { document.getElementById("inputwordCount").innerHTML = "(?????1000????????"+document.getElementById("replyContent").value.length+"??)"; } function dosubmit() { var obj = document.getElementById("replyContent"); if(obj.value=="") { alert("????????????"); return; } if(obj.value.length>1000) { alert("???????????????1000??"); return; } document.getElementById("createSubjectForm").submit(); } </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de