not sure why you can't pass it back thru the controller and specify the view you want to use. it would seem a lot less efforts and keep it simple. When you say client, are you speaking of a http client of some other.
Ryan Sweet sent the following on 3/27/2008 10:25 AM: > > I want to be able to have the request handler pass the response from the > event handler directly back to the client. In this case, the request > handler is just sending back simple strings. I'd like to be able to > either just pass these directly back to the client, or pass them through > a StringViewHandler class if I have to have a view handler. > >> From going through RequestHandler it doesn't seem like <response > type="none"> does what I want. > > In this particular case, I don't need freemarker templates or any other > munging of the response data, and so I'm reluctant to setup the normal > pile of views/templates. Is there a way in controller.xml to tell the > ControlServlet to just pass on the values spit out by the request handler? > > If not, is there a way to setup the <response/> element such that name= > can match whatever is returned (ie default response if no match on name > is found)? > > Does that make sense? > > regards, > -Ryan > > >
