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?
In the Action, probably after you've validated that it is a valid date.
A good workman is known by his tools.
Scott
Greenhorn
Joined: Sep 27, 2002
Posts: 9
posted
0
So does this mean I should change the property type in the form bean to java.lang.String or leave it as Calendar? [ September 22, 2004: Message edited by: Joe Blow ]
Scott
Greenhorn
Joined: Sep 27, 2002
Posts: 9
posted
0
Disregard my last reply. I figured out what you meant. Your advice was very helpful. Thanks.