  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | -none- | -none- 2007-09-05 - By Al Sutton
Back Bingo!!!!
Now I must write 100 lines of "Action specific interceptor declarations overrides the default interceptor stack and does not add to it".
Thanks Dave :)
-- --Original Message-- -- From: Dave Newton [mailto:newton.dave@(protected)] Sent: 05 September 2007 13:29 To: Struts Users Mailing List Subject: Re: Am I doing something dumb, or should this not work?
--- Al Sutton <al.sutton@(protected)> wrote: > <action name="ProcessStepAdd" ...> > <interceptor-ref name="store"> > <param name="operationMode">STORE</param> > </interceptor-ref> > [...]
Doesn't that mean that you're only using the "store" interceptor now?
I thought you had to do it like:
<action name="myAction" class="myActionClass"> <interceptor-ref name="defaultStack"> <param name="validation.excludeMethods"> myValidationExcludeMethod </param> <param name="workflow.excludeMethods"> myWorkflowExcludeMethod </param> </interceptor-ref> </action>
(Copied from http://struts.apache.org/2.x/docs/interceptors.html)
d.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |