<%@ page import="org.apache.log4j.*" %> <%@ page import="com.ecyrd.jspwiki.*" %> <%@ page import="java.util.Calendar,java.util.Date" %> <%! public void jspInit() { wiki = WikiEngine.getInstance( getServletConfig() ); } Category log = Category.getInstance("JSPWiki"); WikiEngine wiki; %> <% String pagereq = request.getParameter("page"); if( pagereq == null ) { throw new ServletException("No page defined"); } String pageurl = wiki.encodeName( pagereq ); String usertext = (String) request.getParameter( "text" ); usertext = TranslatorReader.replaceString( usertext, "<", "<" ); usertext = TranslatorReader.replaceString( usertext, ">", ">" ); String conflicttext = wiki.getText(pagereq); conflicttext = TranslatorReader.replaceString( conflicttext, "<", "<" ); conflicttext = TranslatorReader.replaceString( conflicttext, ">", ">" ); log.info("Page concurrently modified "+pagereq); %> <%=wiki.getApplicationName()%> Error - Concurrent modification of <%=pagereq%> <%@ include file="cssinclude.js" %>
<%@ include file="LeftMenu.jsp" %>

Go edit <%=pagereq%>

<%@ include file="LeftMenuFooter.jsp" %>

Concurrent modification of <%=pagereq%>

Oops! Someone modified the page while you were editing it!

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.

Note that when you go back into the editing mode, someone might have changed the page again. So be quick.

Here is the modified text (by someone else):


        <%=conflicttext%>
      


And here's your text:

        <%=usertext%>
      


Go edit <%=pagereq%>