aspose file tools*
The moose likes Struts and the fly likes Parse a hashmap containing arraylist in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Parse a hashmap containing arraylist in struts2" Watch "Parse a hashmap containing arraylist in struts2" New topic
Author

Parse a hashmap containing arraylist in struts2

shwetank sharma
Greenhorn

Joined: Jan 09, 2011
Posts: 10

I have been trying to parse a hashmap<string, arraylist> in jsp using struts2.

I can get the keys easily but i need to iterate the arraylist i m getting..

just like using a nested iterator

please find below code below...is giving a exception like "=" to expected



is it allowed to pass values this way in struts tags...

any help is highly appreciated

thanks in advance


~~Cheers~~
Shwetank
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61653
    
  67

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jesus Mireles
Ranch Hand

Joined: Mar 10, 2010
Posts: 122

You're probably looking to do something like this:


shwetank sharma
Greenhorn

Joined: Jan 09, 2011
Posts: 10

Thnx...I wonder why i never tried this...and kept on trying every possible option...
though i got this working from this approach also...




Thnx anyways...


Cheers
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Parse a hashmap containing arraylist in struts2