In looking at the Struts doc, is there any reason why the following wouldn't work just as well?
in the JSP <html:link forward="next"> in struts-config <global-forwards> <forward name="next" path="/next.jsp" /> </global-forwards> I've tried it this was, and when I look at the generted HTML, the link looks OK - but I still get the 404 error. Any idea why? Jerry -----Original Message----- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 6:30 PM To: Struts Users Mailing List Subject: RE: JSP's under WEB-INF? That's because you are not following the recommendation 100% You should always go through an action. even if next.jsp is a simple form......use "/next.do" instead that way you can put this in your struts-config: <!-- go to next --> <action path="/next" forward="/WEB-INF/jsp/next.jsp"> </action> James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://struts-atlanta.open-tools.org ICQ: 27651409 AOLIM: jmitchtx (and NO I don't use AOL;) > -----Original Message----- > From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 06, 2002 7:23 PM > To: '[EMAIL PROTECTED]' > Subject: JSP's under WEB-INF? > > > Hi All, > > I'm trying to following some of the 'best practices' that I've > seen on this > mailing list, in particular the recommendation to put JSP's in a directory > under WEB-INF. I've got a test application where the INDEX.JSP is outside > of WEB-INF, but all of my other JSP's are in a directory called > 'test' that > is under WEB-INF. When I try to link to one of these pages (using > <html:link href="next.jsp">, for example), I get '404' errors saying the > page cannot be found. I know it's there, 'cause I can see it. > How do I do > this? Is there something in Tomcat that I am totally missing? > > Thanks! > > Jerry > [EMAIL PROTECTED] > > This transmission (and any information attached to it) may be > confidential and is intended solely for the use of the individual > or entity to which it is addressed. If you are not the intended > recipient or the person responsible for delivering the > transmission to the intended recipient, be advised that you have > received this transmission in error and that any use, > dissemination, forwarding, printing, or copying of this > information is strictly prohibited. If you have received this > transmission in error, please immediately notify LabOne at (800)388-4675. > > > > -- > 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]> This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at (800)388-4675. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>