RE: struts2 interceptor session timeout with ajax
MG>pls see below > From: lukaszlen...@apache.org > Date: Wed, 30 Mar 2016 07:59:28 +0200 > Subject: Re: struts2 interceptor session timeout with ajax > To: user@struts.apache.org > > I think you must use `onSuccessTopics` instead of `onErrorTopics` - > returning 403 doesn't mean an error MG>if browser client sees 403 you will want to redirect to a Secure SSL3/TLS connection index.jsp default page with username/password fields MG>FYI: tomcat Connector can define a secure port for redirects on the connection via attribute redirectPort="8443" http://stackoverflow.com/questions/24736543/tomcat-7-automatically-redirect-https-requests-to-port-8443 > > 2016-03-29 21:59 GMT+02:00 fea jabi <zy...@hotmail.com>: > > Thanks, it worked but now trying this and not sure how to fix this. > > > > Have a on a page. > > After session timeout trying to click on another tab of tabbed panel should > > redirect the user to login page. > > panel not firing the onErrorTopics. The javascript function is > > not getting called. The server is sending result 403. Please see below and > > guide me on how to fix this issue. I am seeing in fire bug that the 403 > > error is thrown but I am unable to catch it in jsp. Need help with the same. > > > > struts.xml > > > > > class="com.xxx.secondPanelAction"> > > > > > > /jsp/secondPanel.jsp > > > > 403 > > User session expired > > > > > > > > > > jsp > > > > > hide="'fade'" collapsible="true" sortable="true" onErrorTopics="loadError"> > > > onErrorTopics="loadError"/> > > > onErrorTopics="loadError"/> > > > > > > > > $(document).ready(function() { > > $.subscribe('loadError', function(event, status, data) { > > alert('in error'); > > var status1 = event.status; > > > > if(status1 == 403 ) { > > window.location.href = "/Sample/login.action"; > > } > > }); > > > > > > > > > > > > > > > > > > > > From: Lukasz Lenart <lukaszlen...@apache.org> > > Sent: Friday, March 11, 2016 2:21 PM > > To: Struts Users Mailing List > > Subject: Re: struts2 interceptor session timeout with ajax > > > > It won't work that way, when using Ajax you must use Ajax to redirect > > to a login page. You can use something like this > > > > http://cypressnorth.com/programming/global-ajax-error-handling-with-jquery/ > > > > so your interceptor must return 403 status code (it can return also an > > url to login page to redirect to) and you must handle redirect on > > client side > > > > > > Regards > > -- > > Łukasz > > + 48 606 323 122 http://www.lenart.org.pl/ > > > > 2016-03-11 15:31 GMT+01:00 fea jabi <zy...@hotmail.com>: > >> Need help with this please. > >> > >> > >> From: fea jabi <zy...@hotmail.com> > >> Sent: Wednesday, March 9, 2016 10:51 AM > >> To: user@struts.apache.org > >> Subject: struts2 interceptor session timeout with ajax > >> > >> Have jquery tabbed panel in a jsp page which has a button to Save the form > >> in the tabbed panel which is making an ajax call and is working fine. > >> > >> Now trying to implement the session management for all requests in the > >> application and imlemented the new interceptor to perform the same. Having > >> issue with session management with the ajax calls. Have the below package > >> for ajax requests in which configured the new interceptor created and the > >> default interceptor. But, the below is not redirecting to the login page > >> instead opening the popup with login page html in it. what am I missing > >> here? > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> true > >> > >> true > >> > >> jsonResult > >> > >> > >> > >> > >> > >> appLogin > >> > >> / > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> - > >> 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 > > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org >
Re: struts2 interceptor session timeout with ajax
I think you must use `onSuccessTopics` instead of `onErrorTopics` - returning 403 doesn't mean an error 2016-03-29 21:59 GMT+02:00 fea jabi <zy...@hotmail.com>: > Thanks, it worked but now trying this and not sure how to fix this. > > Have a on a page. > After session timeout trying to click on another tab of tabbed panel should > redirect the user to login page. > panel not firing the onErrorTopics. The javascript function is > not getting called. The server is sending result 403. Please see below and > guide me on how to fix this issue. I am seeing in fire bug that the 403 error > is thrown but I am unable to catch it in jsp. Need help with the same. > > struts.xml > > > > > /jsp/secondPanel.jsp > > 403 > User session expired > > > > > jsp > > hide="'fade'" collapsible="true" sortable="true" onErrorTopics="loadError"> > onErrorTopics="loadError"/> > onErrorTopics="loadError"/> > > > > $(document).ready(function() { > $.subscribe('loadError', function(event, status, data) { > alert('in error'); > var status1 = event.status; > > if(status1 == 403 ) { > window.location.href = "/Sample/login.action"; > } > }); > > > > > > > > > > From: Lukasz Lenart <lukaszlen...@apache.org> > Sent: Friday, March 11, 2016 2:21 PM > To: Struts Users Mailing List > Subject: Re: struts2 interceptor session timeout with ajax > > It won't work that way, when using Ajax you must use Ajax to redirect > to a login page. You can use something like this > > http://cypressnorth.com/programming/global-ajax-error-handling-with-jquery/ > > so your interceptor must return 403 status code (it can return also an > url to login page to redirect to) and you must handle redirect on > client side > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > 2016-03-11 15:31 GMT+01:00 fea jabi <zy...@hotmail.com>: >> Need help with this please. >> >> >> From: fea jabi <zy...@hotmail.com> >> Sent: Wednesday, March 9, 2016 10:51 AM >> To: user@struts.apache.org >> Subject: struts2 interceptor session timeout with ajax >> >> Have jquery tabbed panel in a jsp page which has a button to Save the form >> in the tabbed panel which is making an ajax call and is working fine. >> >> Now trying to implement the session management for all requests in the >> application and imlemented the new interceptor to perform the same. Having >> issue with session management with the ajax calls. Have the below package >> for ajax requests in which configured the new interceptor created and the >> default interceptor. But, the below is not redirecting to the login page >> instead opening the popup with login page html in it. what am I missing here? >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> true >> >> true >> >> jsonResult >> >> >> >> >> >> appLogin >> >> / >> >> >> >> >> >> >> >> >> >> >> - >> 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 > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: struts2 interceptor session timeout with ajax
Thanks, it worked but now trying this and not sure how to fix this. Have a on a page. After session timeout trying to click on another tab of tabbed panel should redirect the user to login page. panel not firing the onErrorTopics. The javascript function is not getting called. The server is sending result 403. Please see below and guide me on how to fix this issue. I am seeing in fire bug that the 403 error is thrown but I am unable to catch it in jsp. Need help with the same. struts.xml /jsp/secondPanel.jsp 403 User session expired jsp $(document).ready(function() { $.subscribe('loadError', function(event, status, data) { alert('in error'); var status1 = event.status; if(status1 == 403 ) { window.location.href = "/Sample/login.action"; } }); From: Lukasz Lenart <lukaszlen...@apache.org> Sent: Friday, March 11, 2016 2:21 PM To: Struts Users Mailing List Subject: Re: struts2 interceptor session timeout with ajax It won't work that way, when using Ajax you must use Ajax to redirect to a login page. You can use something like this http://cypressnorth.com/programming/global-ajax-error-handling-with-jquery/ so your interceptor must return 403 status code (it can return also an url to login page to redirect to) and you must handle redirect on client side Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2016-03-11 15:31 GMT+01:00 fea jabi <zy...@hotmail.com>: > Need help with this please. > > > From: fea jabi <zy...@hotmail.com> > Sent: Wednesday, March 9, 2016 10:51 AM > To: user@struts.apache.org > Subject: struts2 interceptor session timeout with ajax > > Have jquery tabbed panel in a jsp page which has a button to Save the form in > the tabbed panel which is making an ajax call and is working fine. > > Now trying to implement the session management for all requests in the > application and imlemented the new interceptor to perform the same. Having > issue with session management with the ajax calls. Have the below package for > ajax requests in which configured the new interceptor created and the default > interceptor. But, the below is not redirecting to the login page instead > opening the popup with login page html in it. what am I missing here? > > > > > > > > > > > > > > > > > > > > > > > > > > true > > true > > jsonResult > > > > > > appLogin > > / > > > > > > > > > > > - > 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
Re: struts2 interceptor session timeout with ajax
It won't work that way, when using Ajax you must use Ajax to redirect to a login page. You can use something like this http://cypressnorth.com/programming/global-ajax-error-handling-with-jquery/ so your interceptor must return 403 status code (it can return also an url to login page to redirect to) and you must handle redirect on client side Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2016-03-11 15:31 GMT+01:00 fea jabi: > Need help with this please. > > > From: fea jabi > Sent: Wednesday, March 9, 2016 10:51 AM > To: user@struts.apache.org > Subject: struts2 interceptor session timeout with ajax > > Have jquery tabbed panel in a jsp page which has a button to Save the form in > the tabbed panel which is making an ajax call and is working fine. > > Now trying to implement the session management for all requests in the > application and imlemented the new interceptor to perform the same. Having > issue with session management with the ajax calls. Have the below package for > ajax requests in which configured the new interceptor created and the default > interceptor. But, the below is not redirecting to the login page instead > opening the popup with login page html in it. what am I missing here? > > > > > > > > > > > > > > > > > > > > > > > > > > true > > true > > jsonResult > > > > > > appLogin > > / > > > > > > > > > > > - > 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
Re: struts2 interceptor session timeout with ajax
Need help with this please. From: fea jabiSent: Wednesday, March 9, 2016 10:51 AM To: user@struts.apache.org Subject: struts2 interceptor session timeout with ajax Have jquery tabbed panel in a jsp page which has a button to Save the form in the tabbed panel which is making an ajax call and is working fine. Now trying to implement the session management for all requests in the application and imlemented the new interceptor to perform the same. Having issue with session management with the ajax calls. Have the below package for ajax requests in which configured the new interceptor created and the default interceptor. But, the below is not redirecting to the login page instead opening the popup with login page html in it. what am I missing here? true true jsonResult appLogin / - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 Interceptor
Sort of. The way that I've achieved something similar to what you seem to be asking is to define a bunch of Global Results in struts.xml that define common actions that the interceptors may need to invoke (like reset-password or invalid-input), then instead of chaining to the action in the interceptor, just return the name of the global result and you've effectively called that action. (*Chris*) On Tue, May 26, 2009 at 11:53 PM, Stefano Corallo stefan...@gmail.comwrote: Hi all, can an interceptor call an arbitraty action different from the action requested by the client? Suppose i've the interceptor interceptor-router placed in the stack and the client call MyAction.action, when the interceptor intercept the call is possible to 'redirect' the call to MyDifferentAction.action from the interceptor? I've seen that there is action chaining but this require to know at build time the name of the actions i want to redirect to, but i know the name only at runtime and I hope i was clear :) sorry for my english. -- Stefano Corallo
RE: Struts2 Interceptor
Hello David and Chris, Thank you two very much indeed for your help. I have tried s:set tag with different scope and seems I can set a parameter to any value I want, but I cant set it to the value/variable from jsps java code block, so I suppose s:set may not be applicable to my requirement. (or I must done something wrong somewhere!? Sorry I might not have presented the use case clearly in the first place) Ill check the JSTL approach later I suppose I should use its set tag (to a page scoped attribte?). Cheers, Qunhuan ~ Hi, Sorry for my ignorance but could some one tell me how to access java code block's variable in jsp page. See the sample code below (say, from test.jsp) ... % boolean goAhead = true; int counter = 0; ... % s:if test=goAhead ... !-- go a head and do something -- /s:if s:if test=counter0 ... !-- go a head and do something -- /s:if ... The reference of goAhead and counter within Struts' if tag is wrong. What should be the correct way to reference variable from java code block in this scenario? Many thanks in advance, Qunhuan - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 Interceptor
Hi Criss, thanks for your reply. I know the global result, but is unusefull for this purpose. The problem is that the actions that i want to call is knew at runtime cause the interceptor at init time scan classes with certain annotations and i want to forward to those actions so i can't put the result in struts.xml because i can't know what action to call. So my question is: the only way for an action to redirect to another action is via redirect-action-result ? like described in: http://struts.apache.org/2.x/docs/redirect-action-result.html Maybe putting in the annotation the information to call the action i want -- Stefano Corallo On Wed, May 27, 2009 at 9:07 AM, Chris Pratt thechrispr...@gmail.comwrote: Sort of. The way that I've achieved something similar to what you seem to be asking is to define a bunch of Global Results in struts.xml that define common actions that the interceptors may need to invoke (like reset-password or invalid-input), then instead of chaining to the action in the interceptor, just return the name of the global result and you've effectively called that action. (*Chris*) On Tue, May 26, 2009 at 11:53 PM, Stefano Corallo stefan...@gmail.com wrote: Hi all, can an interceptor call an arbitraty action different from the action requested by the client? Suppose i've the interceptor interceptor-router placed in the stack and the client call MyAction.action, when the interceptor intercept the call is possible to 'redirect' the call to MyDifferentAction.action from the interceptor? I've seen that there is action chaining but this require to know at build time the name of the actions i want to redirect to, but i know the name only at runtime and I hope i was clear :) sorry for my english. -- Stefano Corallo
RE: Struts2 Interceptor
Hi Stefano, This looks like an awkward design as you would go through half the interceptor stack expecting to call one action, and half the stack expecting to call a second action. As an alternative could you do something like the following:- Create class (or Interface) ReceivingAction with sub classes as the actions you want to assign dynamically. Create a true action class ForwardingAction with a property ReceivingAction. The interceptor can now dynamically create the class required (derived from / implementing ReceivingAction) and set it on the current action (ForwardingAction). It could also place the ReceivingAction instance on the ValueStack. The main action methods you are interested in (e.g. execute) could simply forward to the ReceivingAction instance. You will need to be careful about interceptor order if you want to do things like set your parameter values on your ReceivingAction. I haven't implemented this myself, although I have implemented all the techniques I have described. I'm fairly confident that this will achieve what you want. Cheers, Steve -Original Message- From: Stefano Corallo [mailto:stefan...@gmail.com] Sent: 27 May 2009 07:54 To: user@struts.apache.org Subject: Struts2 Interceptor Hi all, can an interceptor call an arbitraty action different from the action requested by the client? Suppose i've the interceptor interceptor-router placed in the stack and the client call MyAction.action, when the interceptor intercept the call is possible to 'redirect' the call to MyDifferentAction.action from the interceptor? I've seen that there is action chaining but this require to know at build time the name of the actions i want to redirect to, but i know the name only at runtime and I hope i was clear :) sorry for my english. -- Stefano Corallo - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
RE: Struts2 Interceptor
you might possibly be breaking the one action class design of Struts is there anything in the 2nd Action class which will not be accomodated by the first class? right now its simple to look at the interceptor stack and determine which class is being called in what order..although technically possible to create any other class (Spring accomplishes this DI functionality thru Spring configured Factories) you would need a reason to justify a change in flow: Specifically: 1a)Which updated/new attributes would the new Action class contain? 1b)Can we not accomodate the new Action attributes in the original Action Class? 2a)Which updated/new methods would the new Action class contain? 2b)Can we not accomodate these new Action methods in the original Action Class? 3a)Which context (element and attribute) params would be introduced by the new class? 3b)Can we not accomodate these new Context Params in the original Action Context? What happens when this new class abends..how do you debug? (my concern is obfuscation of flow or process can lead to confusion in implementation) What say ye Musachy? Martin __ 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. From: st...@sjlt.co.uk To: user@struts.apache.org Subject: RE: Struts2 Interceptor Date: Wed, 27 May 2009 10:47:42 +0100 Hi Stefano, This looks like an awkward design as you would go through half the interceptor stack expecting to call one action, and half the stack expecting to call a second action. As an alternative could you do something like the following:- Create class (or Interface) ReceivingAction with sub classes as the actions you want to assign dynamically. Create a true action class ForwardingAction with a property ReceivingAction. The interceptor can now dynamically create the class required (derived from / implementing ReceivingAction) and set it on the current action (ForwardingAction). It could also place the ReceivingAction instance on the ValueStack. The main action methods you are interested in (e.g. execute) could simply forward to the ReceivingAction instance. You will need to be careful about interceptor order if you want to do things like set your parameter values on your ReceivingAction. I haven't implemented this myself, although I have implemented all the techniques I have described. I'm fairly confident that this will achieve what you want. Cheers, Steve -Original Message- From: Stefano Corallo [mailto:stefan...@gmail.com] Sent: 27 May 2009 07:54 To: user@struts.apache.org Subject: Struts2 Interceptor Hi all, can an interceptor call an arbitraty action different from the action requested by the client? Suppose i've the interceptor interceptor-router placed in the stack and the client call MyAction.action, when the interceptor intercept the call is possible to 'redirect' the call to MyDifferentAction.action from the interceptor? I've seen that there is action chaining but this require to know at build time the name of the actions i want to redirect to, but i know the name only at runtime and I hope i was clear :) sorry for my english. -- Stefano Corallo - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org _ Hotmail® goes with you. http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009
Re: Struts2 Interceptor
Stefano Corallo wrote: I know the global result, but is unusefull for this purpose. The problem is that the actions that i want to call is knew at runtime cause the interceptor at init time scan classes with certain annotations and i want to forward to those actions so i can't put the result in struts.xml because i can't know what action to call. If you make the global result shortCircuitRedirect redirect to %{shortCircuitRedirectUrl}, add that member and getter to your BaseAction class, and have your interceptor both set the Url on the action, then return the global result name, you'll be able to do what you ask. -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 Interceptor
Hi Dale, i think that this is the only one solution. Thanks guys for your reply. -- Stefano Corallo On Wed, May 27, 2009 at 4:59 PM, Dale Newfield d...@newfield.org wrote: Stefano Corallo wrote: I know the global result, but is unusefull for this purpose. The problem is that the actions that i want to call is knew at runtime cause the interceptor at init time scan classes with certain annotations and i want to forward to those actions so i can't put the result in struts.xml because i can't know what action to call. If you make the global result shortCircuitRedirect redirect to %{shortCircuitRedirectUrl}, add that member and getter to your BaseAction class, and have your interceptor both set the Url on the action, then return the global result name, you'll be able to do what you ask. -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 Interceptor
Stefano Corallo wrote: i think that this is the only one solution. Thanks guys for your reply. If you don't have a base class for all of your actions, you might be able in the interceptor to get ahold of the ognl valueStack and set the value directly, then refer to #shortCircuitRedirectUrl (in the ognl dictionary rather than an attribute on action (top of ValueStack)). -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 Interceptor
Yes i know that, very appreciate this clarification :) -- Stefano Corallo On Wed, May 27, 2009 at 5:25 PM, Dale Newfield d...@newfield.org wrote: Stefano Corallo wrote: i think that this is the only one solution. Thanks guys for your reply. If you don't have a base class for all of your actions, you might be able in the interceptor to get ahold of the ognl valueStack and set the value directly, then refer to #shortCircuitRedirectUrl (in the ognl dictionary rather than an attribute on action (top of ValueStack)). -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 Interceptor
Yes, you can, though I don't really thing it's the right way to go. Basically you use the body content of the s:set tag to set the variable to the value of a scriplet expression like so: s:set value=fred%= myVar%/s:set Again, there are much better ways of coding modern web applications that resorting to scriplets and I would certainly take the time to eradicate all scriplets from your code as soon as you can, you will be happy you did. (*Chris*) On Wed, May 27, 2009 at 1:01 AM, Qunhuan Mei q...@qm18.wanadoo.co.uk wrote: Hello David and Chris, Thank you two very much indeed for your help. I have tried s:set tag with different scope and seems I can set a parameter to any value I want, but I can’t set it to the value/variable from jsp’s java code block, so I suppose s:set may not be applicable to my requirement. (or I must done something wrong somewhere!? Sorry I might not have presented the use case clearly in the first place) I’ll check the JSTL approach later – I suppose I should use its set tag (to a page scoped attribte?). Cheers, Qunhuan ~ Hi, Sorry for my ignorance but could some one tell me how to access java code block's variable in jsp page. See the sample code below (say, from test.jsp) ... % boolean goAhead = true; int counter = 0; ... % s:if test=goAhead ... !-- go a head and do something -- /s:if s:if test=counter0 ... !-- go a head and do something -- /s:if ... The reference of goAhead and counter within Struts' if tag is wrong. What should be the correct way to reference variable from java code block in this scenario? Many thanks in advance, Qunhuan - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 Interceptor
You can still use the Global Result, just set the global results value to an OGNL expression. This limits the places you can use the interceptor to actions that can fill the OGNL expression, but you could handle that with a common base class if you really want to go down this path. I don't think you really want to just call another Action (which is totally doable, but it won't have any of it's data since it's interceptor stack won't have been run). Basically what you want is a method on your common base class like: method getNextAction () { return next; } And a global result like: result name=gtfo type=redirect-action${nextAction}/result I think you would be better off sticking to the tried and true patterns that the Struts team has designed the system to work with, but if you must, this should work. (*Chris*) On Wed, May 27, 2009 at 2:17 AM, Stefano Corallo stefan...@gmail.comwrote: Hi Criss, thanks for your reply. I know the global result, but is unusefull for this purpose. The problem is that the actions that i want to call is knew at runtime cause the interceptor at init time scan classes with certain annotations and i want to forward to those actions so i can't put the result in struts.xml because i can't know what action to call. So my question is: the only way for an action to redirect to another action is via redirect-action-result ? like described in: http://struts.apache.org/2.x/docs/redirect-action-result.html Maybe putting in the annotation the information to call the action i want -- Stefano Corallo On Wed, May 27, 2009 at 9:07 AM, Chris Pratt thechrispr...@gmail.com wrote: Sort of. The way that I've achieved something similar to what you seem to be asking is to define a bunch of Global Results in struts.xml that define common actions that the interceptors may need to invoke (like reset-password or invalid-input), then instead of chaining to the action in the interceptor, just return the name of the global result and you've effectively called that action. (*Chris*) On Tue, May 26, 2009 at 11:53 PM, Stefano Corallo stefan...@gmail.com wrote: Hi all, can an interceptor call an arbitraty action different from the action requested by the client? Suppose i've the interceptor interceptor-router placed in the stack and the client call MyAction.action, when the interceptor intercept the call is possible to 'redirect' the call to MyDifferentAction.action from the interceptor? I've seen that there is action chaining but this require to know at build time the name of the actions i want to redirect to, but i know the name only at runtime and I hope i was clear :) sorry for my english. -- Stefano Corallo
RE: Struts2 Interceptor
hello dale- in my xwork discoveries i came upon the ShortCircuitableValidator defined as /** Copyright (c) 2002-2006 by OpenSymphony All rights reserved.*/ package com.opensymphony.xwork.validator; /** * This interface should be implemented by validators that can short-circuit the validator queue that it is in @author Mark Woon */ public interface ShortCircuitableValidator { /*** Sets whether this field validator should short circuit the validator queue * it's in if validation fails * @param shortcircuit true if this field validator should short circuit on * failure, false otherwise */ public void setShortCircuit(boolean shortcircuit); /*** Gets whether this field validator should short circuit the validator queue * it's in if validation fails. * @return true if this field validator should short circuit on failure, * false otherwise*/ public boolean isShortCircuit(); } //action class not implements ShortCircuitableValidator public class MyAction extends ActionSupport implements ShortCircuitableValidator { OgnlValueStack vs = new OgnlValueStack(); String isBogus =(isShortCircuit()==true)?true:false; try { vs.setValue(shortCircuitRedirectUrl, isBogus, 1); } catch (OgnlException e) { log.debug(OgnlException happened here+e.getMessage()); } } would this work for shortCircuitRedirectUrl ? 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: Wed, 27 May 2009 11:25:47 -0400 From: d...@newfield.org To: user@struts.apache.org Subject: Re: Struts2 Interceptor Stefano Corallo wrote: i think that this is the only one solution. Thanks guys for your reply. If you don't have a base class for all of your actions, you might be able in the interceptor to get ahold of the ognl valueStack and set the value directly, then refer to #shortCircuitRedirectUrl (in the ognl dictionary rather than an attribute on action (top of ValueStack)). -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org _ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009
Re: Struts2 Interceptor
Martin Gainty wrote: //action class not implements ShortCircuitableValidator public class MyAction extends ActionSupport implements ShortCircuitableValidator { OgnlValueStack vs = new OgnlValueStack(); In an Action when I need the value stack I don't construct a new one but instead get it from the ActionContext: ActionContext.getContext().getValueStack() would this work for shortCircuitRedirectUrl ? If you want only some actions to be able to be short circuitable and wanted to set that on a class by class basis, then this interface sounds like a reasonable way to do so. I believe the OP wanted to be able to have his logic work for *any* action. Adding to his base class would work for any action that implements that base class, but not for a simple action that uses the struts default action class, which is why I suggested adding to the ognl context rather than setting a property on the action on top of the stack. I don't believe the OP was asking about something related to validation, but how to force users to a certain page/form (Oh, we have something we want to force you to do before you do anything else). -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 interceptor with JTA in Sprign
Am Samstag, 14. Februar 2009 17:11:55 schrieb Frans Thamura: i try use the non interceptor version, work well, but i find the interceptor cannot work with JTA related injection Why? I am using S2 and Spring with JTA managed transaction too here and it works fine (if spring is the object factory which does create your objects and interceptors to get the persistence manager injected). Why does it not work for you, i don't get your problem. Torsten -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. -- Linus Torvalds smime.p7s Description: S/MIME cryptographic signature
Re: Struts2 interceptor with JTA in Sprign
On Monday 16 February 2009 05:15:49 Torsten Krah wrote: Am Samstag, 14. Februar 2009 17:11:55 schrieb Frans Thamura: i try use the non interceptor version, work well, but i find the interceptor cannot work with JTA related injection Why? I am using S2 and Spring with JTA managed transaction too here and it works fine (if spring is the object factory which does create your objects and interceptors to get the persistence manager injected). I just want to second this... @Transactional rocks! I just mentioned in another thread that you can have your services wired into actions that are configured by Struts rather than the plugin. IMO, it's a good idea to have your transactions bounded to your service layer, this way you can keep Spring configuration (even if it is just the @Transactional annotation) out of your Struts objects. -Wes -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: struts2: interceptor - validation doesn't work :-(
Please post the entire relevant code and configuration. I do this all the time (annotating the getter, though, as Wes said) and don't have any problems. You're extending ActionSupport? d. --- xianwinwin [EMAIL PROTECTED] wrote: thanks wes, I tried this manipulation - didnt work :-( Wes Wannemacher wrote: Try annotating the getter rather than the setter. -Wes On 1/3/08, xianwinwin [EMAIL PROTECTED] wrote: yes i did :super: newton.dave wrote: Did you annotate the class with the @Validation() annotation? d. --- xianwinwin [EMAIL PROTECTED] wrote: I've been struggling with this issue for a while and any pointer would be appreciated. I have a simple file with one field -name; I would like to validate that the user put information in it. I'm using the annotation in order to achieve this but for some reason the validation doesn't work (there's no return message that the user did not provide the info). my file looks like this: @RequiredStringValidator(message=name is missing) public void setName(String name) { this.name=name; } in the jsp page: ... s:textfield name=name label=your name: / in the xml: action name=UserTest_* method={1} class=com.simple.validation.Test result name=error/pages/error.jsp/result result name=success/pages/welcome.jsp/result interceptor-ref name=guest/ /action the guest interceptor is: interceptor-stack name=guest interceptor-ref name=defaultStack/ /interceptor-stack any idea? -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14607863.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14609244.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] -- Wesley Wannemacher President, Head Engineer/Consultant WanTii, Inc. http://www.wantii.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14610928.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts2: interceptor - validation doesn't work :-(
I didn't see an INPUT result configured, which will be needed. /Ian -- Ian Roughley From Down Around, Inc. Consulting * Training / Mentoring * Agile Process * Open Source web: http://www.fdar.com - email: [EMAIL PROTECTED] Dave Newton wrote: Please post the entire relevant code and configuration. I do this all the time (annotating the getter, though, as Wes said) and don't have any problems. You're extending ActionSupport? d. --- xianwinwin [EMAIL PROTECTED] wrote: thanks wes, I tried this manipulation - didnt work :-( Wes Wannemacher wrote: Try annotating the getter rather than the setter. -Wes On 1/3/08, xianwinwin [EMAIL PROTECTED] wrote: yes i did :super: newton.dave wrote: Did you annotate the class with the @Validation() annotation? d. --- xianwinwin [EMAIL PROTECTED] wrote: I've been struggling with this issue for a while and any pointer would be appreciated. I have a simple file with one field -name; I would like to validate that the user put information in it. I'm using the annotation in order to achieve this but for some reason the validation doesn't work (there's no return message that the user did not provide the info). my file looks like this: @RequiredStringValidator(message=name is missing) public void setName(String name) { this.name=name; } in the jsp page: ... s:textfield name=name label=your name: / in the xml: action name=UserTest_* method={1} class=com.simple.validation.Test result name=error/pages/error.jsp/result result name=success/pages/welcome.jsp/result interceptor-ref name=guest/ /action the guest interceptor is: interceptor-stack name=guest interceptor-ref name=defaultStack/ /interceptor-stack any idea? -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14607863.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14609244.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] -- Wesley Wannemacher President, Head Engineer/Consultant WanTii, Inc. http://www.wantii.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14610928.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts2: interceptor - validation doesn't work :-(
I guess your problem is in the xml file. You are using error result type. But by default if validation error occurs, input string is being returned. So please use input instead of error and check again. Thanks On Jan 4, 2008 5:07 AM, xianwinwin [EMAIL PROTECTED] wrote: I've been struggling with this issue for a while and any pointer would be appreciated. I have a simple file with one field -name; I would like to validate that the user put information in it. I'm using the annotation in order to achieve this but for some reason the validation doesn't work (there's no return message that the user did not provide the info). my file looks like this: @RequiredStringValidator(message=name is missing) public void setName(String name) { this.name=name; } in the jsp page: ... s:textfield name=name label=your name: / in the xml: action name=UserTest_* method={1} class=com.simple.validation.Test result name=error/pages/error.jsp/result result name=success/pages/welcome.jsp/result interceptor-ref name=guest/ /action the guest interceptor is: interceptor-stack name=guest interceptor-ref name=defaultStack/ /interceptor-stack any idea? -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14607863.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] -- Thanks Regards Arpan Debroy AOL Online India Private Ltd RMZ EcoSpace Campus 1A Outer Ring Road, Bellandur, Bangalore - 560037 India Mobile No :+9886006306 on-board :+91 (80) 4035 4528 E-mail : [EMAIL PROTECTED]
Re: struts2: interceptor - validation doesn't work :-(
AND THE WINNER IS: xniit2003 YES!! thank you so much! good call and a brilliant observation thank you all! you wrote: I guess your problem is in the xml file. You are using error result type. But by default if validation error occurs, input string is being returned. So please use input instead of error and check again. :jumping: -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14618918.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]
Re: struts2: interceptor - validation doesn't work :-(
Don't validation errors go to input? Like so: action name=UserTest_* method={1} class=com.simple.validation.Test result name=error/pages/error.jsp/result result name=input/pages/welcome-input.jsp/result result name=success/pages/welcome.jsp/result interceptor-ref name=guest/ /action I put the annotations on the setters. @RequiredStringValidator(type = ValidatorType.FIELD, message = You must enter a password.) @StringLengthFieldValidator(type = ValidatorType.SIMPLE, trim = true, minLength = 6, maxLength = 100, fieldName = pwd, message = Password must be at least 6 characters) public void setPwd(String password) { this.pwd = password; } Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications From: xianwinwin [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org Date: Thu, 3 Jan 2008 15:37:08 -0800 (PST) To: user@struts.apache.org Subject: struts2: interceptor - validation doesn't work :-( I've been struggling with this issue for a while and any pointer would be appreciated. I have a simple file with one field -name; I would like to validate that the user put information in it. I'm using the annotation in order to achieve this but for some reason the validation doesn't work (there's no return message that the user did not provide the info). my file looks like this: @RequiredStringValidator(message=name is missing) public void setName(String name) { this.name=name; } in the jsp page: ... s:textfield name=name label=your name: / in the xml: action name=UserTest_* method={1} class=com.simple.validation.Test result name=error/pages/error.jsp/result result name=success/pages/welcome.jsp/result interceptor-ref name=guest/ /action the guest interceptor is: interceptor-stack name=guest interceptor-ref name=defaultStack/ /interceptor-stack any idea? -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-% 28-tp14607863p14607863.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts2: interceptor - validation doesn't work :-(
Did you annotate the class with the @Validation() annotation? d. --- xianwinwin [EMAIL PROTECTED] wrote: I've been struggling with this issue for a while and any pointer would be appreciated. I have a simple file with one field -name; I would like to validate that the user put information in it. I'm using the annotation in order to achieve this but for some reason the validation doesn't work (there's no return message that the user did not provide the info). my file looks like this: @RequiredStringValidator(message=name is missing) public void setName(String name) { this.name=name; } in the jsp page: ... s:textfield name=name label=your name: / in the xml: action name=UserTest_* method={1} class=com.simple.validation.Test result name=error/pages/error.jsp/result result name=success/pages/welcome.jsp/result interceptor-ref name=guest/ /action the guest interceptor is: interceptor-stack name=guest interceptor-ref name=defaultStack/ /interceptor-stack any idea? -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14607863.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts2: interceptor - validation doesn't work :-(
yes i did :super: newton.dave wrote: Did you annotate the class with the @Validation() annotation? d. --- xianwinwin [EMAIL PROTECTED] wrote: I've been struggling with this issue for a while and any pointer would be appreciated. I have a simple file with one field -name; I would like to validate that the user put information in it. I'm using the annotation in order to achieve this but for some reason the validation doesn't work (there's no return message that the user did not provide the info). my file looks like this: @RequiredStringValidator(message=name is missing) public void setName(String name) { this.name=name; } in the jsp page: ... s:textfield name=name label=your name: / in the xml: action name=UserTest_* method={1} class=com.simple.validation.Test result name=error/pages/error.jsp/result result name=success/pages/welcome.jsp/result interceptor-ref name=guest/ /action the guest interceptor is: interceptor-stack name=guest interceptor-ref name=defaultStack/ /interceptor-stack any idea? -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14607863.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14609244.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]
Re: struts2: interceptor - validation doesn't work :-(
Try annotating the getter rather than the setter. -Wes On 1/3/08, xianwinwin [EMAIL PROTECTED] wrote: yes i did :super: newton.dave wrote: Did you annotate the class with the @Validation() annotation? d. --- xianwinwin [EMAIL PROTECTED] wrote: I've been struggling with this issue for a while and any pointer would be appreciated. I have a simple file with one field -name; I would like to validate that the user put information in it. I'm using the annotation in order to achieve this but for some reason the validation doesn't work (there's no return message that the user did not provide the info). my file looks like this: @RequiredStringValidator(message=name is missing) public void setName(String name) { this.name=name; } in the jsp page: ... s:textfield name=name label=your name: / in the xml: action name=UserTest_* method={1} class=com.simple.validation.Test result name=error/pages/error.jsp/result result name=success/pages/welcome.jsp/result interceptor-ref name=guest/ /action the guest interceptor is: interceptor-stack name=guest interceptor-ref name=defaultStack/ /interceptor-stack any idea? -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14607863.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14609244.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] -- Wesley Wannemacher President, Head Engineer/Consultant WanTii, Inc. http://www.wantii.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts2: interceptor - validation doesn't work :-(
thanks wes, I tried this manipulation - didnt work :-( Wes Wannemacher wrote: Try annotating the getter rather than the setter. -Wes On 1/3/08, xianwinwin [EMAIL PROTECTED] wrote: yes i did :super: newton.dave wrote: Did you annotate the class with the @Validation() annotation? d. --- xianwinwin [EMAIL PROTECTED] wrote: I've been struggling with this issue for a while and any pointer would be appreciated. I have a simple file with one field -name; I would like to validate that the user put information in it. I'm using the annotation in order to achieve this but for some reason the validation doesn't work (there's no return message that the user did not provide the info). my file looks like this: @RequiredStringValidator(message=name is missing) public void setName(String name) { this.name=name; } in the jsp page: ... s:textfield name=name label=your name: / in the xml: action name=UserTest_* method={1} class=com.simple.validation.Test result name=error/pages/error.jsp/result result name=success/pages/welcome.jsp/result interceptor-ref name=guest/ /action the guest interceptor is: interceptor-stack name=guest interceptor-ref name=defaultStack/ /interceptor-stack any idea? -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14607863.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14609244.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] -- Wesley Wannemacher President, Head Engineer/Consultant WanTii, Inc. http://www.wantii.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/struts2%3A-interceptor---validation-doesn%27t-work-%3A-%28-tp14607863p14610928.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]