conflictcontent.jsp

来自「wiki建站资源 java编写的 很好用」· JSP 代码 · 共 39 行

JSP
39
字号
<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>   <div class="conflictnote">      <p><b>Oops!  Someone modified the page while you were editing it!</b></p>      <p>Since I am stupid and can't figure out what the difference      between those pages is, you will need to do that for me.  I've      printed here the text (in Wiki) of the new page, and the      modifications you made.  You'll now need to copy the text onto a      scratch pad (Notepad or emacs will do just fine), and then edit      the page again.</p>      <p>Note that when you go back into the editing mode, someone might have      changed the page again.  So be quick.</p>   </div>      <p><font color="#0000FF">Here is the modified text (by someone else):</font></p>      <p><hr /></p>      <tt>        <%=pageContext.getAttribute("conflicttext",PageContext.REQUEST_SCOPE)%>      </tt>            <p><hr /></p>      <p><font color="#0000FF">And here's your text:</font></p>      <tt>        <%=pageContext.getAttribute("usertext",PageContext.REQUEST_SCOPE)%>      </tt>      <p><hr /></p>      <p>       <i>Go edit <wiki:EditLink><wiki:PageName /></wiki:EditLink>.</i>      </p>

⌨️ 快捷键说明

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