How to include output of resources like (JSP,ASP,CGI,PHP,HTML) located on different physical machines into a main JSP output?

Alessandro A. Garbagnati

The only way to do that is using java.net.URLConnection. There are a lot of FAQ and Forum answers on how to use it, so if you need help on it, take a look at them.

Why <jsp:forward.../> works only for relative url? Probably because that tag is passing the request and response objects and not generating a new connection. The information that are inside the objects are strictly related to the context so you cannot send them throught the wire to another machine.

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.