No, you are correct.  If you put the JSPs in the WEB-INF directory, the
servlet engine will not allow direct access.  I do it all the time... IMHO,
this is a very good practice!


----- Original Message -----
From: "Jason Carreira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 10:22 AM
Subject: RE: [OS-webwork] Action invocation


> I'm pretty sure I read an article about doing it... Anybody else have any
experience doing this?
>
> > -----Original Message-----
> > From: Rickard Öberg [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, January 03, 2003 10:16 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [OS-webwork] Action invocation
> >
> >
> > Jason Carreira wrote:
> > > Maybe, but is it an acceptable level of complexity for the benefits
> > > (simplictiy, security, etc) it provides? For instance, I
> > would like to
> > > have all of my JSP pages under WEB-INF, so they can only be
> > used from
> > > the servlet, rather than being accessed directly, which would most
> > > likely cause them to break, since the context hasn't been
> > set up for
> > > them.
> >
> > I don't think that's even theoretically possible. Velocity
> > would work,
> > of course, but I don't think JSP's would. Setting up a security
> > constraint so that noone could access *.jsp would do the trick though.
> >
> > /Rickard
> >
> > --
> > Rickard Öberg
> > [EMAIL PROTECTED]
> > Senselogic
> >
> > Got blog? I do. http://dreambean.com
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Opensymphony-webwork mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> >
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to