aspose file tools*
The moose likes Struts and the fly likes how to display date of birth Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to display date of birth" Watch "how to display date of birth" New topic
Author

how to display date of birth

kittu karan
Ranch Hand

Joined: Mar 09, 2008
Posts: 63
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

Joined: May 26, 2003
Posts: 31062
    
232

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Chengwei Lee
Ranch Hand

Joined: Apr 02, 2004
Posts: 884
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.


SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to display date of birth