Hi, I have a problem calling a serverpage from other server. The JSP Code : File name : jsp1.jsp : <jsp:include page"http://content:900/serverpage1.htm" flush="true"/> The above JSP file "jsp1.jsp" is in Weblogic Commerce Server and is called with address : "http://content:7501/jsp1.jsp"
If I am replacing the above link in the "jsp1.jsp" with the one in the same port as the "jsp1.jsp", it is displayed. Can please anyone say me what is to be done here. And if my above approach is wrong .. can you please suggest me a way. Thank you !!! Regards, Ganesh
From what I've seen, you arn't given the capability to include a file on another server. The file that you are attempting to include must reside on your server. If you attempt to do so, it will automatically look for a folder or file starting with the URL you specified that resides ON your server.
the server searches for the url thinking it as a resource in the default public directory . If you have to include a html page from other server you ay write a java class which performs the functionality of getting html page and storing that in the public directory and you can include that in your JSP. Thanks
Manas<br />Today If You are not Confused,You are just not thinking Clearly !<br />---------------------------------
I'm so happy! And I wish to make this tiny ad happy too:
SKIP - a book about connecting industrious people with elderly land owners