Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
    Bookmark Topic Watch Topic
  • New Topic

accessing Map object of Jar in JSP

 
Venkata krishna rao kvk
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello all,

i have a requirement as below:i have an xml file which as has Keys and values (just as properties file), this need to be parsed and stored in Map . This program should be packaged as Jar. I have a spring application, where i need to store the the map object at application level, and i need to access that entries from JSP.

Now, 1) how can my spring application trigger the program in jar and store the returned Map object in Cache.
2) if stored, how to retrieve the Map object values in my JSP.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Report post to moderator
"kvk kvkc",

We don't have many rules here at the JavaRanch, but we do insist that you use your Real Name and not some sort of "handle" or obvious alias. If you're not sure about this, see
http://www.javaranch.com/name.jsp .
 
    Bookmark Topic Watch Topic
  • New Topic