Re: HttpServletResponseWrapperSetStatusMsgTest

"Byron L Bailey" <[email protected]> Tue, 9 Jul 2002 13:30:59 -0500
Newsgroups gmane.comp.jakarta.watchdog.devel
Message-ID <[email protected]>
Ryan,

Thanks for your quick response.  However, the reason that I ask is because
in the Servlet 2.1 Spec it says that when calling setStatus(int, String
msg), the msg is sent back as the body of the response.  Yet, it appears
that watchdog expects a blank response since there is no golden file for
this test and will register a failure if it receives anything other than a
blank page since the .xml file has exactmatch=true.  Is this a correct
assessment?  If so, what is the appropriate behavior for this method?

-Byron




                                                                                                                                       
                      Ryan Lubke                                                                                                       
                      <[email protected]        To:       Watchdog Developers List <[email protected]>                    
                      OM>                      cc:                                                                                     
                                               Subject:  Re: HttpServletResponseWrapperSetStatusMsgTest                                
                      07/09/02 01:49 PM                                                                                                
                      Please respond to                                                                                                
                      "Watchdog                                                                                                        
                      Developers List"                                                                                                 
                                                                                                                                       
                                                                                                                                       



Hi Byron,

Yes, even though it's deprecated, it is a part of the API and still
valid to call.

-rl



On Tue, 2002-07-09 at 12:51, Byron L Bailey wrote:
> Hi,
>
> This test calls the method HttpServletResponse.setStatus(int, String)
which
> was deprecated at servlet API 2.1.  Therefore, should this test still
> belong in the 2.3 test buckets?
>
> -Byron
>
>
>
> --
> To unsubscribe, e-mail:   <
mailto:[email protected]>
> For additional commands, e-mail: <
mailto:[email protected]>
>



--
To unsubscribe, e-mail:   <
mailto:[email protected]>
For additional commands, e-mail: <
mailto:[email protected]>