This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
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