According to the spec, the <jsp:include .../> element
provides for includion of resources within the same
context as the current page. That means that you won't
be able to go outside of your server for the resource
you are trying to include (ie. you won't be able to
access http://java.sun.com). The resource should be
specified using a relative URL (filename/filepath only -
no protocol or server specifications). Rob
------Original Message------
From: "suresh babu (Bawa)" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: February 26, 2001 1:10:56 PM GMT
Subject: why it always takes relative path?
if I write the follwing code 'n run it on weblogic it is saying that the
page "http://java.sun.com" not found in "c:/weblogic/myserver/"
the file is simple...
<%@ page language="java" %>
<jsp:include page="http://java.sun.com" />
that's all.
_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets