Newbie: This is my first time using
struts.
I have created an application and I would like one of my forms to allow for the submission of various dates. I have decided to use java.util.Calendar for all of my dates in this application.
How should/can I do this using struts?
What is the proper way to setup the struts-config.xml file for this to work?
Here is some code I have:
<form-beans>
<form-bean name="SearchByDateForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="actualAwardBeginDate" type="java.util.Calendar">
<form-property name="actualAwardEndDate" type="java.util.Calendar">
</form-beans>
If I change the property from java.util.Calendar to type=java.lang.String, how and where in the app do I need to change this to a Calendar object?
Thanks!!!
[ September 22, 2004: Message edited by: Joe Blow ]