Re: WEB-INF and non-JSP files

2005-01-27 Thread Martin Wegner
Will, That sounds right. Thanks for the summation. --Marty --- Will Stranathan <[EMAIL PROTECTED]> wrote: > If I remember the same thread, I think the thrust of the argument was > that JSP belongs under WEB-INF because it's TEMPLATE artifacts, NOT > web artifacts. However, images and javas

Re: WEB-INF and non-JSP files

2005-01-27 Thread Dakota Jack
On Thu, 27 Jan 2005 18:51:35 -0600, Will Stranathan <[EMAIL PROTECTED]> wrote: > If I remember the same thread, I think the thrust of the argument was > that JSP belongs under WEB-INF because it's TEMPLATE artifacts, NOT > web artifacts. However, images and javascripts, unless you have a > custom

Re: WEB-INF and non-JSP files

2005-01-27 Thread Will Stranathan
If I remember the same thread, I think the thrust of the argument was that JSP belongs under WEB-INF because it's TEMPLATE artifacts, NOT web artifacts. However, images and javascripts, unless you have a custom servlet or Struts action to retrieve those artifacts, would NOT belong under WEB-IN

Re: WEB-INF and non-JSP files

2005-01-26 Thread Martin Wegner
Thanks! --- Kishore Senji <[EMAIL PROTECTED]> wrote: > The primary purpose of storing JSP's under WEB-INF/ is to prevent user > to access them directly instead of going to an Action which might be > setting something which is required for the workflow, Authentication, > Authorization etc. whic

Re: WEB-INF and non-JSP files

2005-01-26 Thread Kishore Senji
The primary purpose of storing JSP's under WEB-INF/ is to prevent user to access them directly instead of going to an Action which might be setting something which is required for the workflow, Authentication, Authorization etc. which avoids putting that sort of logic in the JSP itself. I don't se

Re: WEB-INF and non-JSP files

2005-01-26 Thread Martin Wegner
Right. But what about non-JSP files under WEB-INF? Is there a trick to getting Struts to access them? Or is there no point in putting non-JSP files under WEB-INF? --Marty --- Dakota Jack <[EMAIL PROTECTED]> wrote: > All Struts Actions can access jsps within WEB-INF. I put everything > exce

Re: WEB-INF and non-JSP files

2005-01-26 Thread Dakota Jack
All Struts Actions can access jsps within WEB-INF. I put everything except the index page there, and my index page is merely a forward. Jack On Wed, 26 Jan 2005 21:59:53 -0800 (PST), Martin Wegner <[EMAIL PROTECTED]> wrote: > > I recently saw a post about moving all web app files underneath th

WEB-INF and non-JSP files

2005-01-26 Thread Martin Wegner
I recently saw a post about moving all web app files underneath the WEB-INF directory. Unfortunately the search mechanism on the Struts web site appears to be unavailable and I can't find those emails. So I understand why some would put Javascript, JSP, images, etc. under WEB-INF. But if you do