Results 1 to 2 of 2
  1. #1
    niranjanbn is offline Member
    Join Date
    Jul 2010
    Posts
    2
    Rep Power
    0

    Default How do I access a list which is in a Map using Struts 2 tags.

    Hi,

    How do I access a list which is in HashMap using Struts2 tags. HashMap is defined in the following way and this map is in Application scope.

    Java Code:
    Map<String, List<PermissionsVO>> permissionsMap = new HashMap<String,List<PermissionsVO>>();

    I want to access a list from Map based on a key. This key, i will get it from session.

    Thanks in advance.

    Niranjan
    Last edited by niranjanbn; 07-27-2010 at 09:51 AM.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,091
    Rep Power
    20

Similar Threads

  1. Is it possible to use struts-html tags in javascript...?
    By prabhurangan in forum Web Frameworks
    Replies: 0
    Last Post: 05-27-2008, 02:11 PM
  2. HTML tags for Struts
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-27-2007, 09:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •