File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes accessing Map object of Jar in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Reply locked New topic

accessing Map object of Jar in JSP

Venkata krishna rao kvk

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.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17257

"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 .

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: accessing Map object of Jar in JSP
It's not a secret anymore!