I can't find good examples anywhere of VelocityStruts, so here's what I need... and I know it's a big question, but it's worth 500 points:
I need a good example of using Velocity and VelocityStruts to put together a page that gets form input from a user and sends it to a Java class (let's call it DataHolder). I need to know what the following files look like:
- Any .vm files used for Velocity templates
- Any .java classes used for Struts actions
- Any other files used (like velocity.properties, applicationResources.prope
This is just a simple input page, no need for validation stuff from Struts. It can be as simple as a single text field and a single submit button. Also, when "submit" is pressed, it should return the user to the data entry page.
Basically I'm looking for a basic framework I can use to model my application after, since I can't find any good examples on the web.
Velocity -- http://jakarta.apache.org/velocity/
VelocityStruts -- http://jakarta.apache.org/velocity/tools/struts/
Struts -- http://struts.apache.org/
Thanks in advance