I guess what it boils down to is this:

Where you decide to put your jsp is really a personal preference.

One should be aware of the benefits and drawbacks of whatever they decide.

What web server are you using?
What servlet container are you using?
What app server (if any) are you using?  (or does it really
matter....hmmmmm)

Current popular choices include:
1. At the root of the application
2. In subfolders of the root of the application
3. In the WEB-INF folder
4. In subfolders of WEB-INF

Some benefits include:
modularity (2 and 4)
inaccessible from direct http request (must go through an action mapping) (3
and 4)
maintain existing links to your sight (if the orig design was just jsp,
which I affectionately refer to the ABA approach to web solutions aka...
Model Ass-Backwards ) (1 and 2)
 *you can always over-come this with some clever servlet mapping

I could go on and I'm sure I would still miss many.....so use your best
judgment, unless you are considered a mindless droid on a development team
guided by "The Architects from Hell", then I guess you wouldn't have a
choice...;)

<deep-breath/>
aaaaaahhhh....I "almost" feel better now.



JM

> -----Original Message-----
> From: vivek shrivastava [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 09, 2002 1:13 PM
> To: [EMAIL PROTECTED]
> Subject: RE: where should i keep al the jsp, html, gif .. files
>
>
> Hi James ,
>
> Thanks, I went through each and every discussion on the link you
> provided. I
> found one discussion but I am not very clear.
>
> I really need some detail tutorial or explanation. I know there
> are lots of
> Java & struts Guru, please do help me.  I am sorry if I am asking for too
> much.
>
> Thanks
>
>
> >From: "James Mitchell" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Subject: RE: where should i keep al the jsp, html, gif .. files
> >Date: Thu, 9 May 2002 12:29:50 -0400
> >
> >Here we go again.
> >
> >I would recommend searching the archives of about a week ago,
> but I think
> >it
> >may still be down.
> >
> >here is an alternative...
> >http://archive.covalent.net/jakarta/struts-user/2002/05/thread.xml
> >
> >
> >JM
> >
> > > -----Original Message-----
> > > From: vivek shrivastava [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, May 09, 2002 12:16 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: where should i keep al the jsp, html, gif .. files
> > >
> > >
> > > Hi,
> > >
> > > I have very simple question. could someone please help me or
> > > provide me some
> > > direction so that i can better understand the concept?
> > >
> > > Q.
> > > where should i keep all the web component (like jsp page, html
> > > page, etc..)?
> > > what is the best practice in real world?
> > >
> > > should i put them under the root directory of my web application
> > > ? or should
> > > i create a directory under root directory? or should i put then under
> >the
> > > "web-inf" directory?
> > >
> > > please do help me!
> > >
> > >
> > > Thanks
> > > Vivek
> > >
> > > _________________________________________________________________
> > > Join the world�s largest e-mail service with MSN Hotmail.
> > > http://www.hotmail.com
> > >
> > >
> > > --
> > > 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]>
> >
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp.


--
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