I also prefer to tuck them under /WEB-INF, but then, my folder structure
under that is well organized such that the only file in /WEB-INF is the
web.xml file...

The main reason I choose to do this is so that (even if I'm in a hurry) it
forces me to use actions for everything.

Simple Example (from the Struts-Atlanta web site):

|
`---WEB-INF
    |   web.xml
    |
    +---classes
    +---config
    |       struts-config.xml
    |       tiles-defs.xml
    |
    +---dtd
    |       tiles-config.dtd
    |
    +---jsp
    |       legal.jsp
    |       logo.jsp
    |       main.jsp
    |       meetings.jsp
    |       modules.jsp
    |       nav.jsp
    |       not-impl.jsp
    |       powered.jsp
    |       resources.jsp
    |       sponsors.jsp
    |
    +---layout
    |       classicLayout.jsp
    |
    +---lib
    |       commons-beanutils.jar
    |       commons-collections.jar
    |       commons-digester.jar
    |       commons-logging.jar
    |       struts.jar
    |       tiles.jar
    |
    `---tld
            struts-atlanta.tld
            struts-bean.tld
            struts-html.tld
            struts-logic.tld
            struts-template.tld
            tiles.tld




James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta/help/




> -----Original Message-----
> From: Eddie Bush [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 27, 2002 8:07 PM
> To: Struts Users Mailing List
> Subject: Re: taglib url problem
>
>
> Martin Cooper wrote:
>
> >>-----Original Message-----
> >>From: Eddie Bush [mailto:[EMAIL PROTECTED]]
> >>Sent: Friday, September 27, 2002 4:41 PM
> >>To: Struts Users Mailing List
> >>Subject: Re: taglib url problem
> >>
> >>
> >>Not to be rude, but this would be a question for
> >>[EMAIL PROTECTED] to answer.  You might get
> >>lucky and hit
> >>on someone here that can tell you ... personally, I never put pages
> >>under WEB-INF - that's one practice I question.
> >>
> >
> >Just curious - why do you question it/dislike it?
> >
> >--
> >Martin Cooper
> >
> It just *feels* wrong :-/  There are times when doing things that way is
> necessary (you have subscriptions to certain material, perhaps) - I can
> see that.  I just really think you could just as easily protect that
> information by a security constraint... and do without all the
> "hooplah".  Isn't it just added complexity?
>
> "But I don't want to add a security constraint and I want to be sure
> people can only access my pages through actions!"
>     So ... always use actions?  Tuck your files under something else -
> /pages or
> /nobodygonnagetmyfileswithoutgoingthroughanactionfirstdamnit_cuzth
> atsuncool
>
> Wouldn't that be less complicated and have the same effect?  I
> continually feel like I'm missing the point wrt this, to be honest.  As
> I said, it just *feels* wrong.
>
> --
> Eddie Bush
>
>
>
>
> --
> 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