Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to display date of birth

 
kittu karan
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How to write form.jsp(using struts-html.tld tag libs like <html:form> where this page contains date of birth selection box I mean date for one box, month for one box and year. In the same way I have another field like to select county,state,area how to get and set these fields in setter and getter method in formbeans?

Thanks in advance.

[edited subject to UseAMeaningfulSubjectLine - was "doubt"]
[ May 02, 2008: Message edited by: Jeanne Boyarsky ]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by kiran peruka:
In the same way I have another field like to select county,state,area how to get and set these fields in setter and getter method in formbeans?

Yes. They are just three separate form fields.
 
Chengwei Lee
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wouldn't it be better to have just one single text field to store this date of birth field? You need not combine all three fields at the backend to form a date then.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic