On 11/9/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 11/9/05, sudip shrestha <[EMAIL PROTECTED]> wrote: > > I have situation here where one action method need to do a POST to another > > method of a DispatchAction implementing class. I need to know if this is > > possible. > > Redirect with 307 code. HttpResponse.sendRedirect() sets response > header to 302 by default and you cannot change header after response > was written, so you need to forge response with proper header > yourself. > > Most modern browsers understand 307 response, it is defined in HTTP > 1.1 spec (1999, baby!) > > See details here: http://ppewww.ph.gla.ac.uk/%7Eflavell/www/post-redirect.html
Oops, will not work. I forgot that 307 requires user's confirmation. Sorry that I misled you. Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]