Does return null from Action class send 200 OK response?

2006-02-21 Thread ooper
Does return null from Action class send 200 OK response? If not, how do I 
do it? TIA, Brian Barnett


Broadband interface (RIA) + mail box saftey = 
http://Struts_User_List.roomity.com
*Your* clubs, no sign up to read, ad supported; try broadband internet. 


Re: Does return null from Action class send 200 OK response?

2006-02-21 Thread Michael Jouravlev
On 2/21/06, ooper [EMAIL PROTECTED] wrote:
 Does return null from Action class send 200 OK response?

Generally, no.

 If not, how do I do it?

return null means that you took care of response. This means that
you set up response headers and response content whatever you feel
appropriate, and you instructed Struts not to mess with it.

Response object is sent to Action.execute() method as parameter.

Michael.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]