You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ramadi Pearse <ra...@yahoo.com> on 2005/06/16 00:08:47 UTC
Help - Tiles and structured content
I am working on a website which has mainly been a
total web application through its lifecycle. It uses
Struts and composes the interface using Tiles,
sometimes nested Tiles. I have setup my structure as
such:
WEB-INF
|-- jsp
| |-- tiles
| | |-- dir1
| | |-- dir2
So I have creates a jsp/tiles/ directory under WEB-INF
and placed my jsp there. That's standard practice,
right?
Well now I have to add ALOT of static content, like
promotional writings, help instructions, messages from
the boss, etc... and I am not exactly sure how to do
this.
I still need my static content decorated with Tiles.
What do people recommend? And where should I store
these files?
And do I create an Action which loads up the JSP
according to some virtual path (to be mapped
internally) in a request parameter? Example:
/viewDoc.do?path=/path1/path2/file.jsp - What i want
to avoid is creating many tile definitions for static
content.
I am looking for best practices. Thank you.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org