Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 - Type Conversion (String to Date)

 
Rafael F. Oliveira
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, follow my conversion from String to Date

I use struts2-core-2.0.11.1.jar, xwork-2.0.4.jar and ognl-2.6.11.jar libs
Have a MyAction class

I created the properties MyAction-conversion.properties and define it as follow

and the form

then when click in search, the follow message show in log


obs: i try with this version too -> struts pra 2.0.8 e xwork pra 2.0.3

what can I do?
[ August 26, 2008: Message edited by: Rafael F. Oliveira ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic