File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Including a resource from another web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Including a resource from another web application" Watch "Including a resource from another web application" New topic
Author

Including a resource from another web application

Joshua White
Ranch Hand

Joined: Jun 04, 2001
Posts: 97
Hello all,
I have two web apps, webapp1 & webapp2.
I need to include a jsp resource from webapp2 from webapp1. I receive a file not found exception when using the request dispatcher. Any sugggestions?
Regards,
Joshua
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

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).
hth,
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Including a resource from another web application
 
Similar Threads
URL rewriting is not working
How to pass Session object between two web apps
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?