struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cpanon <>
Subject RE: Struts w/Ajax with Struts again
Date Tue, 21 Jul 2009 17:09:43 GMT
Hi Martin
Yes, I did in the line defining both the initial action to bring up the form and the action
tasked with processing the Ajax call.  Also I put in the Ajax processing action specific
setSeeMe("fromAjaxAction") and set that in both the request and the session objects.  Still
nothing but what the first default process set.  The changes set in the Ajax action did not
show no matter what life-cycle object they were put in nor what scope the action was defined. 
This should not be the case, correct?  If I set the scope to request, and if I set a change
in a actionForm and set it in the request, I should see it on the forwarded form.  tia.

--- On Mon, 7/20/09, Martin Gainty <> wrote:

From: Martin Gainty <>
Subject: RE: Struts w/Ajax with Struts again
To: "Struts Users Mailing List" <>
Date: Monday, July 20, 2009, 10:18 AM

did you check scope="request" in struts-config.xml 

as earlier suggested

Martin Gainty 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist
unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet
keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen
wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire
prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe
quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information
seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les
email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune
responsabilité pour le contenu fourni.


> Date: Mon, 20 Jul 2009 03:36:36 -0700
> From:
> Subject: Re: Struts w/Ajax with Struts again
> To:
> Hi PW
> But I cant access the session objects with JS, nor can I iterate the collections I have
in the session to display the updated values that were written in the Ajax processing action. 
> --- On Mon, 7/20/09, Paweł Wielgus <> wrote:
> From: Paweł Wielgus <>
> Subject: Re: Struts w/Ajax with Struts again
> To: "Struts Users Mailing List" <>
> Date: Monday, July 20, 2009, 2:18 AM
> Hi cpanon,
> > I am looking for the simplest technique that would reprocess the session objects
from the new values, regenerate the full jsp,
> then just refresh the whole page, by javascript after completion of ajax.
> Or do not use ajax at all, this will be most simple solution for You.
> Best greetings,
> Paweł Wielgus.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Windows Live™ Hotmail®: Celebrate the moment with your favorite sports pics. Check it out.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message