Hi,

Your initiative is very very interesting, thanks a lot.

I have some questions, sorry if my questions
are stupid.

I don't understand well the signification of the emp abbreviation.
explosivo is used to refer to the global project in which APP101
is the web application, is it true ?
It will be good to have a glossary that fix all abbreviations or
name (APP101, emp, explosivo etc...).
Why do you write /web-inf/src/jsp/emp/html and not /web-inf/src/jsp/html
is it in order to introduce multiple sub applications in the future ?
In the source code you speak about com.explosivo.emp.admin but in the
scheme we see com.explosivo.admin no emp reference.

In the overall structure section you say /web-inf/conf The configuration
data is here (validator.xml, *.tld, etc).
And in the Utility directories part you speak about /WEB-INF/tld.
Always the same question is the project composed of multiple web
applications ?
and tld of the application (app.tld) will be stored in the web-inf/conf.

If I well understand the Struts classes (Action, RequestProcessor,
ActionForm, ...)
are in the whole project structure under each Struts sub-directory
com.explosivo.emp.admin.struts
or com.explosivo.emp.billing.admin.
I don't well understand how the controller / View / Model classes are
organized.
Some classes are common.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 31 July 2002 16:04
To: [EMAIL PROTECTED]
Subject: RE: Struts directory structure



Check out this

http://www.explosivo.com/bill/downloads/tomcat

The file named struts-directory-layout is a document I have been working 
on to try to answer this sort of question and to set up some standards 
internally.

Feedback is appreciated...

Thanks




-----Original Message-----
From: Sandra.Heligon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 6:09 AM
To: struts-user
Subject: Struts directory structure



        I am trying to organize the Struts files structure for my
application.
        The files structure will be placed in the
$CATALINA_HOME\webapps\MyWebApp\WEB-INF\src
        directory.

        Has someone any comment or advice about the following structure:

        <src
                - <MyDomain
                        - <MyWebApp
                                - <Controller
                                        MyRequestProcessor.java
                                        MyListener.java
                                        <Action

                                - <View
                                        <ActionForm

                                - <Model 
                                        JavaBean sources

                - <Common
                                
        The Model directory has only to contain Java sources linked to the
web application.
        The JavaBean classes shared between multiple applications (web or
simple Java application)
        must be placed in an other directory common perhaps ?

        If someone has other structure proposition, I am very interested.
        Thanks a lot in advance.

         

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



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

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

Reply via email to