If you are trying to truly redirect then the below line is your problem. It is trying to forward not redirect. "<jsp:forward page="/myapp/subfolder/welcome.action"/>"
Use: <% String redirectAction = "/myapp/subfolder/welcome.action"; response.sendRedirect(redirectAction); %> On 9/19/07, Eugen Stoianovici <[EMAIL PROTECTED]> wrote: > > I'm trying to create an index with an action mapped to it for a > subfolder in my webapp. The ideea was to create a index.jsp file that has: > <jsp:forward page="/myapp/subfolder/welcome.action"/> > > so it redirects me to a mapped action. The problem is that even though > the url is correct, i get a > "The requested resource (/myapp/subfolder/welcome.action) is not > available" from my server. > > If i point my browser to http://website/myapp/subfolder/welcome.action > (ie: if i type this in) everything works out just fine. What am i doing > wrong? > > Thanks > Eugen Stoianovici > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >