A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Make it so: Java DB Connections & Transactions
this week in the
Including a resource from another web application
Joined: Jun 04, 2001
Apr 28, 2003 09:10:00
I have two web apps, webapp1 & webapp2.
I need to include a
resource from webapp2 from webapp1. I receive a file not found exception when using the request dispatcher. Any sugggestions?
Author and ninkuma
Joined: Jan 10, 2002
Apr 28, 2003 12:24:00
You can't. RequestDispatcher is limited to the current app context.
What type of resource are you trying to include? (may help with suggestions for alternate mechanisms).
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Including a resource from another web application
How to pass Session object between two web apps
URL rewriting is not working
how to create a shared project/libs use by different web apps
Sharing HttpSession across multiple web applications
How to get another webapp's jndi object from local?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015