Right, James, that is why I said something LIKE struts. Micael

At 12:08 PM 10/10/2003 -0400, you wrote:
No you don't.  That has nothing to do with Struts.
You just need to understand how includes and imports work.

http://java.sun.com/products/jsp/syntax/1.1/syntaxref1112.html

http://java.sun.com/products/jsp/syntax/1.1/syntaxref117.html#8772

http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSTL5.html#64122


-- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 770.822.3359 AIM:jmitchtx



----- Original Message -----
From: "Micael" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>; "Tag
Libraries Users List" <[EMAIL PROTECTED]>
Sent: Friday, October 10, 2003 12:01 PM
Subject: Re: <c:import>: relative links inside WEB-INF don't work


> You need to use something like struts to operate inside WEB-INF. > > At 05:34 PM 10/7/2003 -0400, 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] > > > > > > LEGAL NOTICE > > This electronic mail transmission and any accompanying documents contain > information belonging to the sender which may be confidential and legally > privileged. This information is intended only for the use of the > individual or entity to whom this electronic mail transmission was sent as > indicated above. If you are not the intended recipient, any disclosure, > copying, distribution, or action taken in reliance on the contents of the > information contained in this transmission is strictly prohibited. If you > have received this transmission in error, please delete the message. Thank > you > > > > --------------------------------------------------------------------- > 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]



LEGAL NOTICE


This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you



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



Reply via email to