Re: newbie question - Directory structure

"Malcolm Edgar" <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
Hi Sanjeev,

Yes, Tapestry lays out the page files and their resources in a class 
heirachy. This is a quite different from the usual web site free for all 
(and may be anyoing), but is good in terms of keeping all the logical 
resources together.

Pages can have their own *.java, *.page, *.html, *.script, *.properties 
files so keeping these in a hierachial classs directory makes it easier to 
manage.

You can still organise your static HTML and JSP files in the usual way.

Regards Malcolm

>From: Sanjeev Hiremath <[email protected]>
>To: [email protected]
>Subject: [Tapestry-developer] newbie question - Directory structure
>Date: Tue, 19 Nov 2002 15:39:30 +0000 (GMT)
>
>Hello All,
>    I am new to Tapestry and I have a question about
>Directory structure while developing/deploying
>WebApplication using  Tapestry. Please Help.
>
>I was looking at the examples ( say hello ).
>All the files related to this examples say
>.application, .page, .html and .java files are stored
>under WEB-INF/classe/<package> directory.
>what I wanted to know is, Is this a directory
>structure we should maintain throught out application
>or ist here any way to organise directory /files on
>our own. I want to structure something like shown
>below
>
>|-docroot
>| |-images -- All images file
>| |-invoice- htmls will go here+.application, +.page
>| |-reports--All html,*.page
>| |-InvDocs-- htmls ........so on
>|-WEB-INF
>     |-classes - <package>-*.class
>     |-lib
>
>Please help.
>
>Regards
>Sanjeev Hiremath
>
>__________________________________________________
>Do You Yahoo!?
>Everything you'll ever need on one web page
>from News and Sport to Email and Music Charts
>http://uk.my.yahoo.com
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: To learn the basics of securing
>your web site with SSL, click here to get a FREE TRIAL of a Thawte
>Server Certificate: http://www.gothawte.com/rd524.html
>_______________________________________________
>Tapestry-developer mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/tapestry-developer


_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.