aspose 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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: 56204
    
  13

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Including a resource from another web application
 
Similar Threads
How to pass Session object between two web apps
Sharing HttpSession across multiple web applications
how to create a shared project/libs use by different web apps
URL rewriting is not working
How to get another webapp's jndi object from local?