Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 474
  • Last Modified:

Ehcache-I have two projects

I have two projects parent and child.

in parent webinf folder i put the ehcache.xml.

how could i read the ehcache.xml from child project and read the cache name and put and get an element
0
Manikandan Thiagarajan
Asked:
Manikandan Thiagarajan
  • 5
  • 3
1 Solution
 
Manikandan ThiagarajanSenior consultantAuthor Commented:
please give me a code that should be urgent
0
 
ManishLeadCommented:
I didn tget concept parent and child..is there are two war or one war?
0
 
Manikandan ThiagarajanSenior consultantAuthor Commented:
two war and two different projects
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
ManishLeadCommented:
Then I think you require two ehcache xml.
You cannt access other wars file directly.
0
 
Manikandan ThiagarajanSenior consultantAuthor Commented:
is it possible for one ehcache.xml for two projects or two warfiles
0
 
Manikandan ThiagarajanSenior consultantAuthor Commented:
Because i want to access parent session id from child project.that would be stored in one ehcache.xml
0
 
ManishLeadCommented:
I think you can keep file outside two wars.
Check this http://www.ehcache.org/documentation/user-guide/configuration
0
 
Manikandan ThiagarajanSenior consultantAuthor Commented:
outside means

where i located and how could i access

please send me a sample code and location
0
 
mrcoffee365Commented:
These 2 questions turn out to be the same -- is that what you meant to do?
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/Q_27836062.html
http://www.experts-exchange.com/Programming/Languages/Java/Q_27834714.html

If you want to pursue this one and not do any more work on the Java one I answered, then please award points on the Java one and close it.  It's confusing to see many questions on the same problem from the same person.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now