How to get my entered value back when data convertion fails?

ytfang <[email protected]> Fri, 15 Dec 2006 10:05:17 CST
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <30543156.1166198747237.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
hi, when i use convertion to covert string into Date object which is a field in the action class,we encounter an issue.
we use DateConvert.java to do the convertion, when the date user entered  is invalid( not follow MM/dd/yyyy format), the convertion will fail,and return to the original input page.But due to we use get/set mothed to get the value we entered ,so this get method will return null(because the convertion fails ,the Date object is still null).
so my question is,if i want to get user's invalid value back ,what should i do? how to do ?
thx!
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=53759&messageID=107948#107948

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]