wood burning stoves
The moose likes Struts and the fly likes comparing dates Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "comparing dates" Watch "comparing dates" New topic

comparing dates

akshaj nampelly

Joined: May 18, 2005
Posts: 18
I have two dates A and B on a form. Date A is displayed while I entering date B. If date B is prior to date A, it has to show valid error message when I submit the page. I want to use <logic> tag for this comparison and error message. How to go about it? Code snippet is appreciated.

Sajan Patel
Ranch Hand

Joined: Oct 25, 2004
Posts: 77
On Submit you can call JAVAScript and in Java script you can do all comparing.
I agree. Here's the link: http://aspose.com/file-tools
subject: comparing dates
It's not a secret anymore!