My
JSP presents a bunch of text boxes. When user submits the JSP, I need to generate a date/time
string and insert the info frm the text boxes + this date string as a new record in my DB.
I have a form bean that has getter and setter methods for text box elements and date_time ( -- a hidden field on the JSP )
JSP Submit:
Javascript:
In regular JSP/Javascript, I would have done:
But here since the form bean is associated with the form elements, when I want to set the value for a form bean property, what shd I do? Is this even possible frm a Javascript function??
Please help.
Thanks
-- $uDhA