Hi Dave, thank you on Ajax reference. I know basically Ajax and I'm using it in my applications for simple updating of data. I just forgot to remove theme="ajax" from submit button and that was the problem, as I said so.
-- Regards, Milan newton.dave wrote: > > --- On Mon, 7/28/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: >> well I don't understand what is the problem, I use ajax >> for my first form, but not to second which should redirect? > > ... > > Not reloading the entire page is one of the main points of Ajax. > > If you want to reload the entire page (like with a redirect) and you're > not handling that yourself in JavaScript I don't really see the point (in > general; there are exceptions). > > You may want to read up on Ajax fundamentals; JJG's article is one of the > more popular ones, even though people have been doing it for a decade+ > now. > > http://www.adaptivepath.com/ideas/essays/archives/000385.php > > The Wikipedia article gives a shorter, higher-level overview. The second > sentence may be informative: > > "With Ajax, web applications can retrieve data from the server > asynchronously in the background without interfering with the display and > behavior of the existing page." > > http://en.wikipedia.org/wiki/AJAX > > Dave > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-S2--Form-doesn%27t-redirect-tp18654630p18710092.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]