You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Kaj Kandler <Ka...@conficio.com> on 2006/10/27 19:42:55 UTC

How to access a file in WEB-INF/subdir?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,
I'd like to place a data file using the SourceWriter in a directory
beneath the WEB-INF directory. How can I access this in the
<source:source> clause?

K<o>
- --
KajKandler@Conficio.com
 http://conficio.blogspot.com/
 ================================================
 |  We teach software one screencast at a time  |
 ================================================
 http://www.conficio.com/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFFQkUfRDUvrJRNjTARAjneAJ9vjOcvQHYseA2Fu6QOpUWJuP/wtwCfSyBx
cV4kfuqyHSpCKRpXgNFa1Gw=
=qB1/
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: How to access a file in WEB-INF/subdir?

Posted by Kaj Kandler <Ka...@conficio.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



許議中 wrote:
> try use link, link the directory to the normal directory.
> 
> johnson
> 
I'm not prepared to do this. The whole purpose of housing the file in
WEB-INF/... is that it is not within docroot, making it vulnerable to
access through the webserver. I also want to make sure it is not
accidentally overwritten with an update.

I now access it cocoon://../../WEB-INF/auth/xxx


- ---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org


- --
KajKandler@Conficio.com
 http://conficio.blogspot.com/
 ================================================
 |  We teach software one screencast at a time  |
 ================================================
 http://www.conficio.com/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFFRfaNRDUvrJRNjTARApqLAKCbNI+jdXR1GkGW+PEMwdrU7/dPFACfePpg
Fw7OlgaDv5xfe+d84GVocHI=
=VvrT
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: How to access a file in WEB-INF/subdir?

Posted by 許議中 <jo...@erp.tw>.
try use link, link the directory to the normal directory.

johnson

Kaj Kandler 提到:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi there,
> I'd like to place a data file using the SourceWriter in a directory
> beneath the WEB-INF directory. How can I access this in the
> <source:source> clause?
> 
> K<o>
> - --
> KajKandler@Conficio.com
>  http://conficio.blogspot.com/
>  ================================================
>  |  We teach software one screencast at a time  |
>  ================================================
>  http://www.conficio.com/
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (MingW32)
> 
> iD8DBQFFQkUfRDUvrJRNjTARAjneAJ9vjOcvQHYseA2Fu6QOpUWJuP/wtwCfSyBx
> cV4kfuqyHSpCKRpXgNFa1Gw=
> =qB1/
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org