Definitely move them under WEB-INF. Otherwise, you can never enforce people going through your action if they know the JSP address.
At any rate, you can just put the JSP file in the path of the <forward> Paul On Wed, Dec 3, 2008 at 1:14 AM, hello_everyone <[EMAIL PROTECTED]> wrote: > Is there any way to make this work, without moving .jsp pages to web-inf. i > am using Jdeveloper and they are under Web Content->pages > > On Tue, Dec 2, 2008 at 3:02 PM, hello_everyone <[EMAIL PROTECTED]>wrote: > >> <action name="someform" path="/test2" >> type="mypackage.Test2Action" >> scope="session" validate="false"> >> <forward name="success" path="/test3.do"/> >> <forward name="failure" path="/test3.do"/> >> </action> >> >> the problem seems to be : jsp pages are not in web-inf. but all other pages >> are working with .do except the one which i added. >> >> On Tue, Dec 2, 2008 at 2:06 PM, Lukasz Lenart < >> [EMAIL PROTECTED]> wrote: >> >>> 2008/12/2 hello_everyone <[EMAIL PROTECTED]>: >>> > <action name="someform" path="/test" >>> > type="mypackage.TestAction" >>> > scope="session" validate="false"> >>> > <forward name="success" path="/test2.do"/> >>> > <forward name="failure" path="/test.do"/> //it works if it change it >>> .jsp >>> > and add one more level //from path >>> > </action> >>> >>> Could you show how this action is configure? >>> >>> <forward name="success" path="/test2.do"/> >>> >>> >>> Regards >>> -- >>> Lukasz >>> http://www.lenart.org.pl/ >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]