Get your CodeRanch badge!*
The moose likes JSP and the fly likes How to get another webapp's jndi object from local? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to get another webapp Watch "How to get another webapp New topic
Author

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

Yashnoo lyo
Ranch Hand

Joined: Feb 17, 2003
Posts: 152
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:


When I face C# and Java I choose Java.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get another webapp's jndi object from local?
 
Similar Threads
Topic: How to get another web app's SessionFactory?
passing session values between two web application
URL rewriting is not working
Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error
How to pass Session object between two web apps