The moose likes Struts and the fly likes Struts2 datetimepicker Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 datetimepicker" Watch "Struts2 datetimepicker" New topic

Struts2 datetimepicker

callous shabby

Joined: Apr 29, 2012
Posts: 3
I add "<sx:datetimepicker label="currentDate" name="currentDate" displayFormat="yyyy-MM-dd"></sx:datetimepicker>" to my jsp page,
I can choose a time like " 2012-05-23",but if I submit,It change to "2012-05-23T00:00:00+08:00"
what should I do?
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

Try the following example DatePicker

ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
callous shabby

Joined: Apr 29, 2012
Posts: 3
Thanks a lot
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Struts2 datetimepicker
It's not a secret anymore!