You shouldn't be able to execute JSPs within your WEB-INF, so all 3 of your examples should be forbidden.

I think you might want to submit a bug report to whatever servlet engine you're using.

--
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. [EMAIL PROTECTED]

Manolo Ramirez T. wrote:
Hi,

I have this problem with Tomcat 4.1.24 and taglibs-standard 1.0.3. When I try lo include a jsp inside WEB-INF I must to use an absolute url, this are my files:

###########################
# /WEB-INF/jsp/prueba.jsp #
###########################
<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>
<c:import url="prueba2.jsp"/> <%-- doesn't work! --%>


############################ # /WEB-INF/jsp/prueba1.jsp # ############################ <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> <c:import url="/WEB-INF/jsp/prueba2.jsp"/> <%-- works fine --%>

############################
# /WEB-INF/jsp/prueba2.jsp #
############################
HELLO WORLD!

#/END


<jsp:include> works well with relative url's, What I'm missing? Is there any way to use c:import to do this?. Help please.


Thanks in advance.

____________________
Manolo Ramirez T.


PD: forgive my english!



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to