permaculture playing cards*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "convert map  problem" Watch "convert map  problem" New topic
Author

convert map problem

yu naki
Greenhorn

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
}

thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: convert map problem