can you send the full sntax so i can see and tell u the error Naveen Gupta Web Developer Go4i.com (India) Pvt. Ltd. 2nd Floor,Kamal Cinema Building, Safdarjung Enclave New Delhi-110029 Phone:6100013-14,6171893-94 Fax:6100015 Email:[EMAIL PROTECTED] <mailto:Email:[EMAIL PROTECTED]> -----Original Message----- From: Enrique P�rez Soler [mailto:[EMAIL PROTECTED]] Sent: Monday, September 04, 2000 2:12 PM To: [EMAIL PROTECTED] Subject: jsp:forward or jsp:include acting like HREF? Hi! Due to a team work situation, the home page of a web section is not in this secition's root directory. I have tried with an index.jsp file <jsp:include page="campus/orientate/buscarpiso_mapa.html" flush="true" /> and <jsp:forward page="campus/orientate/buscarpiso_mapa.html" /> to redirect the root's folder URL to the correct file. The destination file uses some JavaScript, which is referenced with relative URLs. It seems that neither the include neither the forward commands perform a directory change, which results in a "file not found" error, since the relative URLs are correct only from the correct folder. If I try this using an html HREF tag, it works fine, excepted the detail that it is not an automatic redirection. Can anyone give me its advice on this subjetc? Many thanks, have a nice day. ;-) -- -------------------------- "El bit es al hombre lo que el �tomo a Dios" Enrique P�rez Soler mailto:[EMAIL PROTECTED] http://ttt.teleco.upv.es/~enpeso ======================================================================== === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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 =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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
