has to requestdispatch to a path relative to WEB-INF?
I think David Geary may have done something like this in his Advanced JSP book.
On Friday, January 3, 2003, at 04:14 PM, Tim Dwelle wrote:
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 invocationJason Carreira wrote:Maybe, but is it an acceptable level of complexity for the benefits (simplictiy, security, etc) it provides? For instance, Iwould like tohave all of my JSP pages under WEB-INF, so they can only beused fromthe servlet, rather than being accessed directly, which would most likely cause them to break, since the context hasn't beenset up forI don't think that's even theoretically possible. Velocitythem.
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
------------------------------------------------------- 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