• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can using jsp:forward request can be forwarded to another pc  RSS feed

 
Ashish Kothari
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can request using jsp:forward send on another machin using jsp or any other technology?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66158
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. Whether you use the JSP forward tag, or forward directly with a request dispatcher, forwarding is limited to resources in the current web application context (let alone resources on another system).
You'll need to rely upon a redirect for resources outside of the current context.
hth,
bear
 
Chris Baron
Ranch Hand
Posts: 1061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll need to rely upon a redirect for resources outside of the current context.

...or get an InputStream on the forwardpage via HttpUrlConnection and write it to your actual page...rather complicated
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!