Struts and performance

2001-09-09 Thread Chris Nokes

I would really be interested in a struts vs. home-grown implementation vs
other MVC framework in performance.

In any event, I would be interested in hearing how happy users are with
struts performance in general.  Has anyone converted a front-end to struts
and noticed a performance difference?

Thanks,
Chris




Re: save dynamic jsp content

2001-08-01 Thread Chris Nokes

An eaiser way may be to create a BodyTagSupport to capture the output in the
"doAfterBody" method and send it to the mail input stream or write to the
file
system first if desired.  This doesn't require an extra network call and
thread.

Chris

- Original Message -
From: "Calvin Yu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 01, 2001 1:06 PM
Subject: Re: save dynamic jsp content


The easiest way would be to write a client that makes a HTTP request to
the server and captures the HTML output that way.

Calvin


On 01 Aug 2001 13:40:58 -0400, Mustapha Essalihe wrote:
>
> Hi,
>  I am new to struts. In my action class (perform) I want to run a jsp
page
> in background and save its content in  an html file. How Can i do that
in
> perfom method ?. After that i know how i will send this html file by
e-mail
> (usinj java smtp) and forward the user to an adequate location
(success).
> Thanks in adavance.
> Mustapha Essalihe
>






ActionForm as Collection of a "type"

2001-07-30 Thread Chris Nokes



When posting forms, does struts have a mechanism 
for creating collections from an arbitrary 
number of "beans" of the same type?
 
For example, if I have BeanX with values A, B, and 
C; and I dynamically create a form with inputs:
 
A1, B1, C1
A2, B2, C2
etc.
 
Upon mapping it seems I should be able to set some 
value in config to let struts know to 
create a bean for each "row" and place in a collection.  In other words, 
can ActionForms represent
collections of a type rather than just a 
type?  And if not how about this as a 
feature?  Cases would be
dynamically creating "rows" in a form and having 
them automatically read and validated
by the framework.
 
Thanks,
Chris