This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
If you're using struts, then you should use the struts form tag because it make your job of writing struts pages easier.
At the end of the day it still generates an html <form> tag - but it can handle extra information related to struts.
eg what action to invoke when submitting the form - you can use
You remove from your markup
- your context web app name
- the .do extension used for struts
The form tag also acts as a container/owner for various variables that struts can use to construct your form
- the related bean/ActionForm the backs the current page (so it can populate values into the form)
If you are using struts, why wouldn't you take advantage of the <html:form> tag to do some of the heavy lifting for you?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com