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

Reply via email to