File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get another webapp's jndi object from local?

Yashnoo lyo
Ranch Hand
Posts: 152
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends:

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:
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic