[Yanel-dev] Resource.setResponse() vs. Environment.setResponse()

Evaldas Taroza etaroza at optaros.com
Fri Nov 30 12:24:10 CET 2007


Hi,
I see that Resource.setResponse(boolean) is deprecated and it says
that one should use Environment.setResponse(HttpServletResponse).

Is the behaviour the same when in first case I just toggle a flag, and 
in the other I have to set the whole object?

Evaldas


More information about the Yanel-development mailing list