sidler 02/01/10 02:53:40
Modified: struts README.txt
Log:
Updated build and run instructions.
Revision Changes Path
1.2 +37 -3 jakarta-velocity-tools/struts/README.txt
Index: README.txt
===================================================================
RCS file: /home/cvs/jakarta-velocity-tools/struts/README.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- README.txt 3 Jan 2002 20:21:06 -0000 1.1
+++ README.txt 10 Jan 2002 10:53:40 -0000 1.2
@@ -5,11 +5,45 @@
integration using the VelocityViewServlet and other tools found
in this project.
-To build the jar :
+Struts support in Velocity is provided through several context
+tools.
+
+To build the Struts tools :
$ant jar
+This generates a jar file in the same directory.
+
+More documentation will be added shortly. For now the best way
+to get a feel for the Struts Velocity integration is to look at
+the included examples.
+
+
+
+Examples
+--------
+
+Several Struts application examples have been included to demonstrate
+the use of Velocity templates with Struts.
+
+
+To run the examples you need:
+
+o ant to build the web application (war file)
+o Tomcat 3.X, Tomcat 4.X or a comparable servlet runner.
+
-There is a great demonstration/example package put together
-by Gabriel Sidler in the examples/struts directory.
+To build and deploy the example follow these steps:
+o Go to subdirectory examples/struts
+o Build the war file with:
+ $ant devwar
+ This generates a file velstruts.war in subdirectory examples.
+o Put the generated war file into the webapps directory of your Tomcat
+ installation (or the corresponding directory of other servlet runners).
+o Restart Tomcat to auto-deploy the application and point your browser at:
+ http://your-server:your-port/velstruts/
+
+
+
+Please send your feedback to [EMAIL PROTECTED]
\ No newline at end of file
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>