Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Including a resource from another web application  RSS feed

 
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
Posts: 66141
141
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
Boost this thread!