BBjHttpResponse::sendRedirect (Deprecated)
BBjHttpResponse::sendRedirect is deprecated for BBj 21.00 and higher, and has been replaced by BBxServletResponse::sendRedirect.
Description
In BBj 12.00 and higher, this method sends a redirect to the client.
Syntax
| 
                                                         Return Value  | 
                                                    
                                                         Method  | 
                                                
| 
                                                         void  | 
                                                    
                                                         sendRedirect(string location)  | 
                                                
Parameters
| 
                                                         Parameter  | 
                                                    
                                                         Description  | 
                                                
| 
                                                         location  | 
                                                    
                                                         Specifies the new URL to be redirected to.  | 
                                                
Return Value
None.
Remarks
The example below shows sending a redirect within a BBjServlet.
Example
                                                     |