LeanMoreTryMore
asked on
JSP - Struts / Date field - need to display a calendar and allow the user to select the date
I'm a beginner for Struts
I need to add a date field to the JSP form.
I do NOT know how to add a calendar and populate the selected date from to the form?
eg.where the calendar image is clicked, it pops up the calendar and allows the user to select the date. After, the selected date is populated to the date field.
I know this is a common funtionality, but i just dont know what to do?
Notes I add the struts framework to the existing old jsp/servlet application.
Does Struts provide a feature for calendar?
I need to add a date field to the JSP form.
I do NOT know how to add a calendar and populate the selected date from to the form?
eg.where the calendar image is clicked, it pops up the calendar and allows the user to select the date. After, the selected date is populated to the date field.
I know this is a common funtionality, but i just dont know what to do?
Notes I add the struts framework to the existing old jsp/servlet application.
Does Struts provide a feature for calendar?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Check the struts configuration xml, it will specify whether refering to 1.x dtd or 2.x dtd file.
ASKER