Re: Sending back HTML with Struts 2 while shutting down the server

2009-04-30 Thread Russell Neufeld
Thanks Dave. Worked like a charm. Dave Newton wrote: Russell Neufeld wrote: One of the struts actions I'm implementing shuts down the server. Hmm. Is there a special value I can return from a Struts 2 execute() > method, say null, which tells the framework not to send any

Re: Sending back HTML with Struts 2 while shutting down the server

2009-04-29 Thread Dave Newton
Russell Neufeld wrote: One of the struts actions I'm implementing shuts down the server. Hmm. Is there a special value I can return from a Struts 2 execute() > method, say null, which tells the framework not to send any HTML > response back [...] Try "none" (Action.NONE) Dave ---

Sending back HTML with Struts 2 while shutting down the server

2009-04-29 Thread Russell Neufeld
Hi all, One of the struts actions I'm implementing shuts down the server. I'd like to be able to send back an HTML response before the server shuts down, but the action's execute() method doesn't dispatch to the jsp for the html response until after the return of the method. That means i