Hi! I'm facing not the same, but a strange behavior too with "s:action tag" since Struts version 2.3.12.
I'm using them in similar way than Felipe, so it load some Lists to be used later for Select Fields filling. It worked well until change struts version form 2.3.8 to 2.3.12 and later. Now, it works well when I start up the server for the first app that get called, but not for the other apps that may use the same technique but get called later. If I redeploy the app that was working (without restarting the whole Tomcat server), it doesn't work any more. I'm facing "random" results too with s:form field tags (such s:input and so on), in which they some times use the default "theme" to create the html code and other times use the "simple" theme (which is the one I've set in strus.xml). It happen randomly, any time the page its reloaded in the browser it may change the result. Any idea? Thanks a lot. De: Lukasz Lenart <lukaszlen...@apache.org> Para: Struts Users Mailing List <user@struts.apache.org>, Fecha: 21/06/2013 07:34 Asunto: Re: s:action tag showing result Have you tried to use the previous versions? Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/6/20 Felipe Lorenz <felipe.lor...@idealogic.com.br>: > Hi all, > > I have been using struts quite a long time, but in the last days I have faced a strange behaviour of s:action tag. > > In my JSP I am using the tag action to load list to be used to mount my s:select. But in the redered HTML, the result of the action is showing, even when the executeResult is false. > > There is something I missing? > > > JSP code: > > <s:action namespace="/ajax" name="loadEstadoByPais" var="estado" flush="false" /> > <s:select > label="%{getText('global.lbl_nmEstado')}" > name="cidade.estado.idEstado" > listKey="idEstado" > listValue="nmEstado" > list="#estado.estados" > emptyOption="true" > id="estadoCombo" > tooltip="%{getText('global.hint_nmEstado')}"/> > > struts.xml: > > <action name="loadEstadoByPais" method="loadEstadoByPais" class="br.com.seedingControl.action.EstadoAction"> > <result name="index" type="json"> > <param name="includeProperties"> > ^estados\[\d+\]\.idEstado, > ^estados\[\d+\]\.nmEstado > </param> > </result> > </action> > > As you can see, in the struts.xml, I have only json result, and I only need as json, but when I use the action tag, I just only need the populated list to be used in the select tag. It is working very well, but the problem is that the json result is showing in the HTML. And it is showing in the top, not in the action tag position, what is strange. > > Also, I try to change the struts.devMode to false, but nothing changes. > > The project is using struts 2.3.14.3 with rest-plugin. But for this kind ok action, I avoid rest and use just json-plugin. > > Please, if need any further info, ask me! > > Thanks in advance. > > > Felipe Lorenz > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org . . --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org