You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Felipe Nascimento <fe...@inf.puc-rio.br> on 2003/11/18 20:54:24 UTC

ProcessAction and RESULT attribute

Hi,

I really needed to know how ProcessAction acts. Struts In Action says
"The ProcessAction  will than just save the ResultList collection in
request scope, using the default RESULT attribute name, and forward
control to success.".

The problem is that i am not getting a RESULT attribute in my jsp. 

Please, anyone????


Tks
Felipe

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.538 / Virus Database: 333 - Release Date: 10/11/2003
 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: ProcessAction and RESULT attribute

Posted by Caoilte O'Connor <li...@caoilte.org>.
no no no. by RESULT i think it must mean the processResult 
object. what happens is :-

ProcessAction will try a getName() on your ProcessResult 
object and to and set an attribute in the request (or 
session if you specify) with that name. if getName() 
returns null it will try and use the attribute property for 
the action in your struts-config instead.

hope that helps. oh yeah, and
DON'T RELY ON THE BOOK. read the source.

c

On Tuesday 18 November 2003 20:54, Felipe Nascimento wrote:
> Hi,
>
> I really needed to know how ProcessAction acts. Struts In
> Action says "The ProcessAction  will than just save the
> ResultList collection in request scope, using the default
> RESULT attribute name, and forward control to success.".
>
> The problem is that i am not getting a RESULT attribute
> in my jsp.
>
> Please, anyone????
>
>
> Tks
> Felipe
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system
> (http://www.grisoft.com). Version: 6.0.538 / Virus
> Database: 333 - Release Date: 10/11/2003
>
>
>
> ---------------------------------------------------------
>------------ To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org For additional
> commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org