********Deserve Before You Desire********
Joined: Oct 06, 2005
1. All parameters are to be passed to and fro as Strings only. There are some reasons why we need to follow this, though we can define properties to be different type(boolean,Date) in your ActionForm.
2. We can use <fmt:formatDate tag so that data field can be displayed in any format(dd/mm/yy OR mm/dd/YYY ...)
Joined: Mar 20, 2005
in your actionform use fields like:
In your business object Javabeans have the following:
In jou JSP refer to myDateDisplay in a text field. You can then use BeanUtils to copy the properties between the ActionForm and the Business object and your Bean will take care of the conversions.