You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Evan Rawson - Work <er...@americanadtrader.com> on 2007/07/13 02:33:09 UTC
[T5] Sort pages in WEB-INF into subdirectories
how can i sort my pages into sub directories within my web-inf directory.
ex:
i would like a structure kinda like
WEB-INF
==components
====core
======userName
======userIcon
======galleryLink
======...
====global
======header.html
======footer.html
======...
====supplemental
======registerForm.html
======loginForm.html
======...
==pages
====inventory
======Page.html
======Page.html
======...
====stats
======Page.html
======Page.html
======...
====prefrences
======Page.html
======Page.html
======...
i also sort a root css, script, and images dir within the web-inf just like that as well.
the directory structure is layed out similiary within the java src package as well.
though my experience ive found taht this is a great way to keep a very large application manageable (100+ page application)
my problem is that i get a 404 error, when i try to load pages that are not directly within the root of the web-inf
thanx in advance
~evan
Re: [T5] Sort pages in WEB-INF into subdirectories
Posted by Howard Lewis Ship <hl...@gmail.com>.
Please read the documentation.
On 7/12/07, Evan Rawson - Work <er...@americanadtrader.com> wrote:
> how can i sort my pages into sub directories within my web-inf directory.
>
> ex:
>
> i would like a structure kinda like
>
> WEB-INF
> ==components
> ====core
> ======userName
> ======userIcon
> ======galleryLink
> ======...
> ====global
> ======header.html
> ======footer.html
> ======...
> ====supplemental
> ======registerForm.html
> ======loginForm.html
> ======...
> ==pages
> ====inventory
> ======Page.html
> ======Page.html
> ======...
> ====stats
> ======Page.html
> ======Page.html
> ======...
> ====prefrences
> ======Page.html
> ======Page.html
> ======...
>
>
>
> i also sort a root css, script, and images dir within the web-inf just like that as well.
>
> the directory structure is layed out similiary within the java src package as well.
>
> though my experience ive found taht this is a great way to keep a very large application manageable (100+ page application)
>
> my problem is that i get a 404 error, when i try to load pages that are not directly within the root of the web-inf
>
> thanx in advance
> ~evan
--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org