AFAIK there's no way to send NO response to the browser.  That would be a 
timeout..  You may want to look at 
getContext().getResponse().sendError(HttpServletResponse.SC_???)  SC_NO_CONTENT 
is probably the best fit.  But if you want a valid, empty response, return new 
StreamingResolution("text/html", ""); will do the trick

From: Andy [mailto:andrh...@hotmail.com]
Sent: Monday, July 13, 2009 11:58 AM
To: stripes-users@lists.sourceforge.net
Subject: [Stripes-users] Defaulthandler ForwardResolution question

Hi, should I return a null if I want my default handler to return nothing (ie I 
do not want a response sent back to the browser)?

Thanks!
________________________________
Insert movie times and more without leaving Hotmail(r). See 
how.<http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009>
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to