0

I have a bizarre requirement. I need to download a jsp templates from another web app and get the dynamic html response as a string using my java app. I know how we can achieve this by ServletContext.getRequestDispatcher(), but getRequestDispatcher() cannot go to outside of the application and my application is not a web app. In short, my app has the data and the jsp template comes from another app. I'm thinking I can get the inputstream of this jsp template and write the dynamic data sonwhow? Any ideas?

nullPointer2
  • 87
  • 1
  • 10

0 Answers0