You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Frans Thamura <fr...@meruvian.org> on 2011/10/10 01:15:23 UTC

S2 Apps to HTML

hi all

i am working for a small CMS which my idea wanna to make the output HTML

this is the concept

http://www.facebook.com/photo.php?fbid=470164130680&set=a.470162825680.244515.142079595680&type=1&theater

every page collection -> HTML

any idea to generate HTML in Struts2 apps?

F

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


Re: S2 Apps to HTML

Posted by Li Ying <li...@gmail.com>.
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


Re: S2 Apps to HTML

Posted by Frans Thamura <fr...@meruvian.org>.
Sorry
I tough this is user
On Oct 11, 2011 5:11 PM, "Rene Gielen" <re...@googlemail.com> wrote:

> Please ask questions like this in the Struts user mailing list. The
> developer list is for the development of the framework itself.
>
> Thanks,
> René
> Am 11.10.2011 00:43 schrieb "Frans Thamura" <fr...@meruvian.org>:
>
> > I like the concept live publishing concept.
> >
> > The problem, we use velocity as rendering
> > On Oct 10, 2011 2:55 PM, "Christian Grobmeier" <gr...@gmail.com>
> > wrote:
> >
> > > On Mon, Oct 10, 2011 at 5:52 AM, Frans Thamura <fr...@meruvian.org>
> > wrote:
> > > > so any idea to make generator HTML based on Struts2, but save to
> file,
> > > > not to browser
> > >
> > > Probably sending a header, like "application/octet-stream"?
> > >
> > > >
> > > > F
> > > >
> > > >
> > > >
> > > > On Mon, Oct 10, 2011 at 7:06 AM, Dave Newton <da...@gmail.com>
> > > wrote:
> > > >> Don't most web apps generate HTML?
> > > >>
> > > >> On Sun, Oct 9, 2011 at 7:15 PM, Frans Thamura <fr...@meruvian.org>
> > > wrote:
> > > >>
> > > >>> hi all
> > > >>>
> > > >>> i am working for a small CMS which my idea wanna to make the output
> > > HTML
> > > >>>
> > > >>> this is the concept
> > > >>>
> > > >>>
> > > >>>
> > >
> >
> http://www.facebook.com/photo.php?fbid=470164130680&set=a.470162825680.244515.142079595680&type=1&theater
> > > >>>
> > > >>> every page collection -> HTML
> > > >>>
> > > >>> any idea to generate HTML in Struts2 apps?
> > > >>>
> > > >>> F
> > > >>>
> > > >>>
> ---------------------------------------------------------------------
> > > >>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > > >>> For additional commands, e-mail: dev-help@struts.apache.org
> > > >>>
> > > >>>
> > > >>
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > > > For additional commands, e-mail: dev-help@struts.apache.org
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > http://www.grobmeier.de
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: dev-help@struts.apache.org
> > >
> > >
> >
>

Re: S2 Apps to HTML

Posted by Rene Gielen <re...@googlemail.com>.
Please ask questions like this in the Struts user mailing list. The
developer list is for the development of the framework itself.

Thanks,
René
Am 11.10.2011 00:43 schrieb "Frans Thamura" <fr...@meruvian.org>:

> I like the concept live publishing concept.
>
> The problem, we use velocity as rendering
> On Oct 10, 2011 2:55 PM, "Christian Grobmeier" <gr...@gmail.com>
> wrote:
>
> > On Mon, Oct 10, 2011 at 5:52 AM, Frans Thamura <fr...@meruvian.org>
> wrote:
> > > so any idea to make generator HTML based on Struts2, but save to file,
> > > not to browser
> >
> > Probably sending a header, like "application/octet-stream"?
> >
> > >
> > > F
> > >
> > >
> > >
> > > On Mon, Oct 10, 2011 at 7:06 AM, Dave Newton <da...@gmail.com>
> > wrote:
> > >> Don't most web apps generate HTML?
> > >>
> > >> On Sun, Oct 9, 2011 at 7:15 PM, Frans Thamura <fr...@meruvian.org>
> > wrote:
> > >>
> > >>> hi all
> > >>>
> > >>> i am working for a small CMS which my idea wanna to make the output
> > HTML
> > >>>
> > >>> this is the concept
> > >>>
> > >>>
> > >>>
> >
> http://www.facebook.com/photo.php?fbid=470164130680&set=a.470162825680.244515.142079595680&type=1&theater
> > >>>
> > >>> every page collection -> HTML
> > >>>
> > >>> any idea to generate HTML in Struts2 apps?
> > >>>
> > >>> F
> > >>>
> > >>> ---------------------------------------------------------------------
> > >>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > >>> For additional commands, e-mail: dev-help@struts.apache.org
> > >>>
> > >>>
> > >>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: dev-help@struts.apache.org
> > >
> > >
> >
> >
> >
> > --
> > http://www.grobmeier.de
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail: dev-help@struts.apache.org
> >
> >
>

Re: S2 Apps to HTML

Posted by Frans Thamura <fr...@meruvian.org>.
I like the concept live publishing concept.

The problem, we use velocity as rendering
On Oct 10, 2011 2:55 PM, "Christian Grobmeier" <gr...@gmail.com> wrote:

> On Mon, Oct 10, 2011 at 5:52 AM, Frans Thamura <fr...@meruvian.org> wrote:
> > so any idea to make generator HTML based on Struts2, but save to file,
> > not to browser
>
> Probably sending a header, like "application/octet-stream"?
>
> >
> > F
> >
> >
> >
> > On Mon, Oct 10, 2011 at 7:06 AM, Dave Newton <da...@gmail.com>
> wrote:
> >> Don't most web apps generate HTML?
> >>
> >> On Sun, Oct 9, 2011 at 7:15 PM, Frans Thamura <fr...@meruvian.org>
> wrote:
> >>
> >>> hi all
> >>>
> >>> i am working for a small CMS which my idea wanna to make the output
> HTML
> >>>
> >>> this is the concept
> >>>
> >>>
> >>>
> http://www.facebook.com/photo.php?fbid=470164130680&set=a.470162825680.244515.142079595680&type=1&theater
> >>>
> >>> every page collection -> HTML
> >>>
> >>> any idea to generate HTML in Struts2 apps?
> >>>
> >>> F
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> >>> For additional commands, e-mail: dev-help@struts.apache.org
> >>>
> >>>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail: dev-help@struts.apache.org
> >
> >
>
>
>
> --
> http://www.grobmeier.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

Re: S2 Apps to HTML

Posted by Christian Grobmeier <gr...@gmail.com>.
On Mon, Oct 10, 2011 at 5:52 AM, Frans Thamura <fr...@meruvian.org> wrote:
> so any idea to make generator HTML based on Struts2, but save to file,
> not to browser

Probably sending a header, like "application/octet-stream"?

>
> F
>
>
>
> On Mon, Oct 10, 2011 at 7:06 AM, Dave Newton <da...@gmail.com> wrote:
>> Don't most web apps generate HTML?
>>
>> On Sun, Oct 9, 2011 at 7:15 PM, Frans Thamura <fr...@meruvian.org> wrote:
>>
>>> hi all
>>>
>>> i am working for a small CMS which my idea wanna to make the output HTML
>>>
>>> this is the concept
>>>
>>>
>>> http://www.facebook.com/photo.php?fbid=470164130680&set=a.470162825680.244515.142079595680&type=1&theater
>>>
>>> every page collection -> HTML
>>>
>>> any idea to generate HTML in Struts2 apps?
>>>
>>> F
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>



-- 
http://www.grobmeier.de

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


Re: S2 Apps to HTML

Posted by Frans Thamura <fr...@meruvian.org>.
yah but we are in ActionSupport mode, dont we?

so any idea to make generator HTML based on Struts2, but save to file,
not to browser

F



On Mon, Oct 10, 2011 at 7:06 AM, Dave Newton <da...@gmail.com> wrote:
> Don't most web apps generate HTML?
>
> On Sun, Oct 9, 2011 at 7:15 PM, Frans Thamura <fr...@meruvian.org> wrote:
>
>> hi all
>>
>> i am working for a small CMS which my idea wanna to make the output HTML
>>
>> this is the concept
>>
>>
>> http://www.facebook.com/photo.php?fbid=470164130680&set=a.470162825680.244515.142079595680&type=1&theater
>>
>> every page collection -> HTML
>>
>> any idea to generate HTML in Struts2 apps?
>>
>> F
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>

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


Re: S2 Apps to HTML

Posted by Dave Newton <da...@gmail.com>.
Don't most web apps generate HTML?

On Sun, Oct 9, 2011 at 7:15 PM, Frans Thamura <fr...@meruvian.org> wrote:

> hi all
>
> i am working for a small CMS which my idea wanna to make the output HTML
>
> this is the concept
>
>
> http://www.facebook.com/photo.php?fbid=470164130680&set=a.470162825680.244515.142079595680&type=1&theater
>
> every page collection -> HTML
>
> any idea to generate HTML in Struts2 apps?
>
> F
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>