Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: Action without interceptors

walidito

2007-01-09



why don't you simply DONT put an interceptor in your action mapping ?
for example :
<action name="test" class="uy.com.Test" method="test">
     
     <result type="redirect">index</result>
   </action>
Good luck


Juan Espinosa wrote:
>
>> Hi to all i need help
>> i want to have an action without interceptors. I want to configure it in
>> my action mapping, something like this.
>>
>>    <action name="test" class="uy.com.Test" method="test">
>>      <interceptor-ref name="NOINTERCEPTOR"/>
>>      <result type="redirect">index</result>
>>    </action>
>> Also i want to know if ther is a standard way to have something like a
>> daemon in a web application. I have a class called MailStore responsible
>> of sending mails. I want to convert the class to a daemon who take cares
>> of the mail.
>> I was thinking in a solution using a Runnable who is alwasy running
>> looking for mail to send. And taking care of failures… if a task fail try
>> it latter….
>> Regards,
>>
>>  Juan Espinosa
>>
>>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.16.7/620 - Release Date: 08/01/2007
> 16:12
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.