struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Ying <liying.cn.2...@gmail.com>
Subject Re: S2 Apps to HTML
Date Tue, 11 Oct 2011 05:23:20 GMT
Maybe I misunderstood you.

But I think all your Struts2 will generate HTML.

For every HTTP request, one action will be execute, and the result
will be rendered into HTML, and sent back as a HTTP response.

If you want to save it to file instead of show in browser. You can
write your own HTTP Client.
Send HTTP request, get HTTP response, and so on.

This library may help:
Apache HTTP Components
http://hc.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message