struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Márcio Gurgel" <>
Subject Re: Action executed many times
Date Sun, 04 May 2008 17:23:23 GMT
Thanks Laurie for explanation.
The reason for multiple calls is the "href" from tabbed panel.
I tried to use ajaxTags and YUI TabView just for testing. It just called the
action once.
I'm using many dojo components in my projet, it'll be hard to change to
ajaxTags or YUI.

Does anyone knows how to prevent this multiple calls from TabbedPanel href?


2008/5/2 Laurie Harper <>:

> Márcio Gurgel wrote:
> > Does someone can tell me why does a action is called more than once?
> > I've a action to populate some fields (I call it once), by debugging I
> > saw
> > that this method is called three times.
> > Is it normal? If it'snt how to prevent?
> >
> This is usually a result of elements in the page with an incorrect 'src'
> or 'href' attribute. For example, if you have an 'img' tag with an empty
> 'src' attribute, your browser will try to load an image using the page URL.
> Check your HTML and, if necessary, comment bits out until you find what's
> causing the extra requests.
> L.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message