Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Ranch Hand
Posts: 152
  • 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:
Nothing? Or something? Like this tiny ad:
ScroogeXHTML 7.2 - RTF to HTML5 / XHTML converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!