jQuery in Action, 3rd edition
The moose likes Struts and the fly likes convert map  problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "convert map  problem" Watch "convert map  problem" New topic

convert map problem

yu naki

Joined: May 12, 2010
Posts: 2
I have a HasMap<String Set<Postcode>>postCodeMap in the action class and I hope to convert it into String type, Any know how can I write Element_xxx in action-convertion-properties file?

I try Element_postCodeMap = java.util.Set and Element_postCodeMap = java.util.Map.Entry
and Element_postCodeMap = java.util.Set<com.Postcode>

but none of them can work.

public Postcode class{
String type//key of hashMap
String postcode;

getter and setter

I agree. Here's the link: http://aspose.com/file-tools
subject: convert map problem
It's not a secret anymore!