Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

support for setting Last-Modified in StreamResult?

DNewfield

2007-02-13

Replies:

I'd like to be able to add a Last-Modified header to a response when
returning binary data from a struts2 action...
I assume the right place to add this would be to
org.apache.struts2.dispatcher.StreamResult. I guess I could always add
it myself in a custom subclass, but that seems silly if y'all would
accept a patch to add it directly to StreamResult...

...opinions?

-Dale Newfield
Dale@(protected)

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.