Right now you are: * preventing direct JSP access... then * telling the browser to access the JSP directly.
"Redirect" means it will send an HTTP redirect to the browser, and the browser will try to access the new URL. So I'm not sure what you're trying to do; if you really want a redirect (and the new URL will show in the browser location bar) you should redirect to another action. (And if there's no data to put in the request, etc., you can make this a simple forwarding action that will just show the JSP, like <action path="/home" forward="home.jsp"/>). If you just want to send the rendered JSP straight to the browser, don't set redirect="true". -Rob Pankaj Gupta wrote: > Hi All, > > I have specified redirect="true" in my action forwards but tomcat > fails to find the jsp. I have kept all my jsp's in WEB-INF/jsp folder > so as to avoid direct jsp access. Please suggest how can I make > redirect to work. > > regards, > Pankaj > > --------------------------------------------------------------------- > 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]