JSP under WEB-INF
Hi Guys, I've just moved all my JSP's into a folder under WEB-INF so i have something like this: WEB-INF\jsp\catalogue I've got some global forward defined as follows: global-forwards forward name=viewcatalogue path=WEB-INF\jsp\catalogue\maincatalogue.jsp redirect=true/ /global-forwards But now when i foward to this it fails to locate the jsp, i've also got a similar problem when i try to reference and action from within my html files i.e. html frameset rows=195,* frameborder=NO border=0 framespacing=0 frame src=../../catalogueheader.do name=topFrame scrolling=NO noresize frame src=../../maincatalogue.do?action=paging name=mainFrame /frameset /html I know its something really silly that i'm doing wrong... _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: JSP under WEB-INF
Hi Quinn, how about path=WEB-INF/jsp/catalogue/maincatalogue.jsp -Original Message- From: Pat Quinn [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 28. Januar 2003 13:09 To: [EMAIL PROTECTED] Subject: JSP under WEB-INF Hi Guys, I've just moved all my JSP's into a folder under WEB-INF so i have something like this: WEB-INF\jsp\catalogue I've got some global forward defined as follows: global-forwards forward name=viewcatalogue path=WEB-INF\jsp\catalogue\maincatalogue.jsp redirect=true/ /global-forwards But now when i foward to this it fails to locate the jsp, i've also got a similar problem when i try to reference and action from within my html files i.e. html frameset rows=195,* frameborder=NO border=0 framespacing=0 frame src=../../catalogueheader.do name=topFrame scrolling=NO noresize frame src=../../maincatalogue.do?action=paging name=mainFrame /frameset /html I know its something really silly that i'm doing wrong... _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- 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]
Re: JSP under WEB-INF
Hi, You need to set redirect to false, all JSP behind WEB-INF are not visible for redirection. ... and add a '/' before WEB-INF, like this : global-forwards forward name=viewcatalogue path=/WEB-INF/jsp/catalogue/maincatalogue.jsp redirect=false/ /global-forwards -emmanuel --- Pat Quinn [EMAIL PROTECTED] a écrit : Hi Guys, I've just moved all my JSP's into a folder under WEB-INF so i have something like this: WEB-INF\jsp\catalogue I've got some global forward defined as follows: global-forwards forward name=viewcatalogue path=WEB-INF\jsp\catalogue\maincatalogue.jsp redirect=true/ /global-forwards But now when i foward to this it fails to locate the jsp, i've also got a similar problem when i try to reference and action from within my html files i.e. html frameset rows=195,* frameborder=NO border=0 framespacing=0 frame src=../../catalogueheader.do name=topFrame scrolling=NO noresize frame src=../../maincatalogue.do?action=paging name=mainFrame /frameset /html I know its something really silly that i'm doing wrong... _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: JSP under WEB-INF
Hi Quinn, Are you trying this under Weblogic 7.0. If it is under Weblogic 7.0, you will get 404 error. Even i tried moving to WEB-INF and because of this error, i again moved back to the application root. You tell me if you get succeed in this, so that i can try in Weblogic 7.0 Have a nice day Regards, Uday -Original Message- From: Pat Quinn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 5:39 PM To: [EMAIL PROTECTED] Subject: JSP under WEB-INF Hi Guys, I've just moved all my JSP's into a folder under WEB-INF so i have something like this: WEB-INF\jsp\catalogue I've got some global forward defined as follows: global-forwards forward name=viewcatalogue path=WEB-INF\jsp\catalogue\maincatalogue.jsp redirect=true/ /global-forwards But now when i foward to this it fails to locate the jsp, i've also got a similar problem when i try to reference and action from within my html files i.e. html frameset rows=195,* frameborder=NO border=0 framespacing=0 frame src=../../catalogueheader.do name=topFrame scrolling=NO noresize frame src=../../maincatalogue.do?action=paging name=mainFrame /frameset /html I know its something really silly that i'm doing wrong... _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- 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]
Re: JSP under WEB-INF
Cheers Guys, setting redirect to false worked for me i'm using the Orion Webserver... but it seems it was't webserver related just me being very stupid. Thanks again guys From: Emmanuel Boudrant [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: JSP under WEB-INF Date: Tue, 28 Jan 2003 13:26:58 +0100 (CET) Hi, You need to set redirect to false, all JSP behind WEB-INF are not visible for redirection. ... and add a '/' before WEB-INF, like this : global-forwards forward name=viewcatalogue path=/WEB-INF/jsp/catalogue/maincatalogue.jsp redirect=false/ /global-forwards -emmanuel --- Pat Quinn [EMAIL PROTECTED] a écrit : Hi Guys, I've just moved all my JSP's into a folder under WEB-INF so i have something like this: WEB-INF\jsp\catalogue I've got some global forward defined as follows: global-forwards forward name=viewcatalogue path=WEB-INF\jsp\catalogue\maincatalogue.jsp redirect=true/ /global-forwards But now when i foward to this it fails to locate the jsp, i've also got a similar problem when i try to reference and action from within my html files i.e. html frameset rows=195,* frameborder=NO border=0 framespacing=0 frame src=../../catalogueheader.do name=topFrame scrolling=NO noresize frame src=../../maincatalogue.do?action=paging name=mainFrame /frameset /html I know its something really silly that i'm doing wrong... _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]