• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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

 
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:
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic