jon         01/05/21 21:20:38

  Modified:    examples/servlet_example1 README.txt
  Log:
  minor cleanup and documentation fixes
  
  Revision  Changes    Path
  1.4       +24 -22    jakarta-velocity/examples/servlet_example1/README.txt
  
  Index: README.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/examples/servlet_example1/README.txt,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- README.txt        2001/05/10 10:59:18     1.3
  +++ README.txt        2001/05/22 04:20:37     1.4
  @@ -1,42 +1,46 @@
   Welcome to Velocity!
  +--------------------
   
   As always, the if you have any questions :
   
   1) Make sure you followed any directions :)  (did you build everything?)
   2) Review documentation included in this package, or online at
  -      http://jakarta.apache.org/velocity
  -3) Ask on the velocity-user list.  This is a great source of support information.
  -   To join, read http://jakarta.apache.org/site/mail.html and then follow the 
  -   link at the bottom to join the lists.
  +      http://jakarta.apache.org/velocity/
  +3) Ask on the velocity-user list.  This is a great source of support
  +   information. To join, read http://jakarta.apache.org/site/mail.html
  +   and then follow the link at the bottom to join the lists.
   
   
   servlet_example1
  ----------------
  -This is a simple example of how Velocity can be used with
  - your favorite servlet engine. To use this, you should have a basic understanding
  -how your servlet engine works, and how you deploy and access servlets to try this.
  -While we cannot supply this, we know of a good one :)
  +----------------
  +This is a simple example of how Velocity can be used with your favorite
  +servlet engine. To use this, you should have a basic understanding how
  +your servlet engine works, and how you deploy and access servlets to try
  +this. While we cannot supply this, we know of a good one :)
  +
      http://jakarta.apache.org/tomcat/
   
   
   Unfamiliar with Servlets?
  -------------------------
  +-------------------------
   
  -This documentation should be found elswhere, but putting here just in 
  -case.  
  +This documentation should be found elswhere, but putting here just in
  +case.
   
  -Using Velocity on the web is best done using Java Servlets.  While we 
  +Using Velocity on the web is best done using Java Servlets.  While we
   don't want to give a tutorial here, the basic idea is straightforward.
  +
  +0) Install Ant. http://jakarta.apache.org/ant/
   
  -1) Get a servlet engine.  Tomcat, from the Jakarta project, is an 
  -excellent implementation. (In fact, it's the official reference
  -implementation...)
  +1) Get a servlet engine.  Tomcat, from the Jakarta project, is an
  +   excellent implementation. (In fact, it's the official reference
  +   implementation...)
   
  -2) Install said servlet engine.
  +2) Install your servlet engine.
   
  -3) Build this servlet example : build/build.sh examples
  +3) Build this servlet example : cd jakarta-velocity/build; ant examples
   
  -4) Setup a webapp under tomcat :
  +4) Setup a webapp under Tomcat :
   
    - make a new 'webapp' : in tomcat's webapps directory, 
      make a new directory structure as follows :
  @@ -46,8 +50,7 @@
         velexample/WEB-INF/lib
         velexample/WEB-INF/classes
   
  -
  - - put the velocity-1.0.1.jar (or newer) into the velexample/WEB-INF/lib directory
  + - put the velocity.jar into the velexample/WEB-INF/lib directory
    
    - put the SampleServlet.class into the velexample/WEB-INF/classes directory
   
  @@ -62,4 +65,3 @@
    - you should see the sample output.  
   
   At this point, you are using Velocity!
  -
  
  
  

Reply via email to