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

date format in struts 2

Mahesh Kumar
Greenhorn

Joined: Oct 11, 2007
Posts: 1
i want to compare two dates startDate and endDate . rules are defined in validation.xml any idea how to compare that enddate should be greater than start date and also that both are mandatory ...n also do we need to define any date format ??..if yes ..how to define format..


Mahesh
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"Kumar",
Welcome to JavaRanch!

We're pleased to have you here with us here on the ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. You can change it here
[ March 26, 2008: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
jQuery in Action, 2nd edition
 
subject: date format in struts 2