This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts2 TypeConverter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 TypeConverter" Watch "Struts2 TypeConverter" New topic

Struts2 TypeConverter

Nigel King

Joined: Mar 03, 2006
Posts: 29
I'm trying to implement a TypeConverter in Struts2.
I have class - Conference - which contains a list of Events and each of these events has a startdate.
The Conference is set in the action.
What I want to do is set up a converter just for this startdate.
If I add

it works okay but that's obviously for all dates.
I think I should be able to add this into a file.
How do I specify that I'd like this *only* to be used for my Conference->Event->startDate field.
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 TypeConverter
It's not a secret anymore!