Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Including a resource from another web application

 
Joshua White
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64990
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic