alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

jforum example source code file (ConflictContent.jsp)

This example jforum source code file (ConflictContent.jsp) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - jforum tags/keywords

and, here, here, i, i've, i've, notepad, so, so, someone, wiki, you'll, you'll

The jforum ConflictContent.jsp source code

<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>

   <div class="error">
      <p>Oops!  Someone modified the page while you were editing it!

<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>Here is the modified text (by someone else):

<hr /> <tt> <%=pageContext.getAttribute("conflicttext",PageContext.REQUEST_SCOPE)%> </tt> <hr /> <p>And here's your text:

<tt> <%=pageContext.getAttribute("usertext",PageContext.REQUEST_SCOPE)%> </tt> <hr /> <p> <i>Go edit . </p>

Other jforum examples (source code examples)

Here is a short list of links related to this jforum ConflictContent.jsp source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.