Re: c:import: relative links inside WEB-INF don't work

2003-10-11 Thread Micael
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]


Re: c:import: relative links inside WEB-INF don't work

2003-10-11 Thread Micael
Jim, the question is not how you can include a jsp but go to a jsp.  Those 
are radically different issues when inside WEB-INF.

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]


Re: c:import: relative links inside WEB-INF don't work

2003-10-10 Thread Micael
As an aside, you certainly can, and I think should, execute JSPs within 
WEB-INF.  I even execute my resources within WEB-INF.

At 04:55 PM 10/7/2003 -0400, Serge Knystautas wrote:
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]


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]


Re: c:import: relative links inside WEB-INF don't work

2003-10-10 Thread Micael
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]


c:import: relative links inside WEB-INF don't work

2003-10-07 Thread Manolo Ramirez T.
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]


Re: c:import: relative links inside WEB-INF don't work

2003-10-07 Thread Serge Knystautas
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]


Re: c:import: relative links inside WEB-INF don't work

2003-10-07 Thread Manolo Ramirez T.
Hi,

I'm using jsp's outside WEB-INF to include prueba and prueba1, I forget 
to say that.

_
Manolo Ramirez T.
Serge Knystautas wrote:
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.



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


Re: c:import: relative links inside WEB-INF don't work

2003-10-07 Thread Pierre Delisle
Manolo Ramirez T. wrote:

Hi,

I'm using jsp's outside WEB-INF to include prueba and prueba1, I forget 
to say that.
In that case, you'd want the following:

%@ taglib uri=http://java.sun.com/jstl/core; prefix=c %
c:import url=WEB-INF/prueba2.jsp/ 

   -- Pierre


_
Manolo Ramirez T.
Serge Knystautas wrote:

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.



-
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]