I have two webapps,webapp1 and webapp2. I bind an object to webapp1's jndi tree ,and I want to get the object from webapp2.How to do it? They are different web context. I mean that how to get another context from local webapp? I use tomcat. I couldn't get the object in this way:
in webapp2,tomcat report exception:"you don't bound the webapp2 in context" If it can,how to do? Thks! :roll:
When I face C# and Java I choose Java.
subject: How to get another webapp's jndi object from local?