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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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: 61203
    
  66

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