Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Spring and the fly likes retrieving map object that is being returned by Jar file in JSP. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Reply locked New topic
Author

retrieving map object that is being returned by Jar file in JSP.

Venkata krishna rao kvk
Greenhorn

Joined: Feb 14, 2013
Posts: 4
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.
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

Please to not post the same question twice. I am locking this thread and discussion can continue here:
http://www.coderanch.com/t/604892/Spring/cache-Map-object-Jar-Spring


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: retrieving map object that is being returned by Jar file in JSP.
 
Similar Threads
jsp session scope List values
how to append the values retrieved from the database to the hashmap
I am close to submit - question about suncertify.properties
mapping in hibernate
Need Help in Encryption