You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by jo...@apache.org on 2001/03/03 10:07:33 UTC

cvs commit: jakarta-velocity/docs/ymtd ymtd-sampleapp.html

jon         01/03/03 01:07:33

  Modified:    xdocs/ymtd ymtd-sampleapp.xml
               docs/ymtd ymtd-sampleapp.html
  Log:
  removed copy/paste error
  
  Revision  Changes    Path
  1.2       +0 -15     jakarta-velocity/xdocs/ymtd/ymtd-sampleapp.xml
  
  Index: ymtd-sampleapp.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/xdocs/ymtd/ymtd-sampleapp.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ymtd-sampleapp.xml	2001/03/03 08:23:51	1.1
  +++ ymtd-sampleapp.xml	2001/03/03 09:07:33	1.2
  @@ -74,21 +74,6 @@
   ]]></source>
   
   <p>
  -Another great Jason quote:
  -</p>
  -
  -<source><![CDATA[
  -One thing to watch out for:  On some servers (including Tomcat 3.XXX) if
  -you have a bean with a scope of "session" or "application" and you
  -change the bean class implementation, you may get a ClassCastException
  -on a later request. This exception occurs because the generated servlet
  -code has to do a cast on the bean instance as it's retrieved from the
  -session or application, and the old bean type stored in the session or
  -application doesn't match the new bean type expected.  The simplest
  -solution is to restart the server.
  -]]></source>
  -
  -<p>
   It is the belief of the Velocity developers that you should not have to
   specially code your applications to work around issues that are related
   directly to Java.
  
  
  
  1.3       +0 -31     jakarta-velocity/docs/ymtd/ymtd-sampleapp.html
  
  Index: ymtd-sampleapp.html
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/docs/ymtd/ymtd-sampleapp.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ymtd-sampleapp.html	2001/03/03 08:31:34	1.2
  +++ ymtd-sampleapp.html	2001/03/03 09:07:33	1.3
  @@ -189,37 +189,6 @@
       </table>
       </div>
                                                   <p>
  -Another great Jason quote:
  -</p>
  -                                                    <div align="left">
  -    <table cellspacing="4" cellpadding="0" border="0">
  -    <tr>
  -      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -    </tr>
  -    <tr>
  -      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -      <td bgcolor="#ffffff"><pre>
  -One thing to watch out for:  On some servers (including Tomcat 3.XXX) if
  -you have a bean with a scope of &quot;session&quot; or &quot;application&quot; and you
  -change the bean class implementation, you may get a ClassCastException
  -on a later request. This exception occurs because the generated servlet
  -code has to do a cast on the bean instance as it's retrieved from the
  -session or application, and the old bean type stored in the session or
  -application doesn't match the new bean type expected.  The simplest
  -solution is to restart the server.
  -</pre></td>
  -      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -    </tr>
  -    <tr>
  -      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -    </tr>
  -    </table>
  -    </div>
  -                                                <p>
   It is the belief of the Velocity developers that you should not have to
   specially code your applications to work around issues that are related
   directly to Java.