If you want to set in the JSP, you can do as follows:
If you are using DynavalidatorForm, you can set the values in the form-beans
properties.
If you want to set the values in the action class, then get the values using
set method of DynaValidatorForm.
Hope this helps.
Croffman
- Original
Using Struts & EJB's - For load testing, facing a problem, that if 10 multiple
users are accessing at the same time, only one user is getting other user data
(WRONG data) out of 10 users. But all other 9 users are getting correct data.
The wrong data for that one user, is from one out of 9 other
Thanks for the quick responses.
Here is some more info:
1. >Is it worse with more users?
This was done by manual users, before load testing. Couldn't try that now.
2. >Do you keep any non-synchronized user-specific info in an instance of a
class that is only instantiated once (like a s
I remember I have faced the similar problem before with only just servlets.
Previous problem was, had a servlet containing a class level variable which
holded the data. When multiple users hit the servlet, then the response data
was switched to the users.
Here, in the action class, there is an
In your code in action classes, call the form.validate(mapping, request)
method
Hope this helps.
- Original Message -
From: "EROL TEZCAN" <[EMAIL PROTECTED]>
To:
Sent: Friday, June 10, 2005 9:30 AM
Subject: enabling server-side validation
> Hi,
>
> How can I enable server-side validat
I have a form bean which has few form-bean properties (less than 10) each of
type customized class, which contains around 30 attributes.
Does any one have any idea is there any impact on high volume testing?
Your suggestions are helpful.
Thanx in advance.
You can use bean:define to create a dynamic JSP variable and set that to the
alt attribute using JSP Scriptlet as follows:
I hope this should solve it.
croff
- Original Message -
From: "Aladin Alaily" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, May 25, 2005 5
e a form bean with a total of ~300 properties?
Yes, that could be a bit heavy in a high load environment.
Larry
On 5/25/05, croffman <[EMAIL PROTECTED]> wrote:
> I have a form bean which has few form-bean properties (less than 10) each
of type customized class, which contains around 3
There are many hidden fields in a page. Planning to use filters to reduce the
size transferred.
Did any body have experienced in getting performance benefit using GZIPFilter?
Any inputs/suggestions are very much helpful.
Thanx in advance.
Croff
Thanks for the reply.
1. Looks like I got into the problem, because of 3 pages.
I have defined action mappings as:
action1 ==> no ActionForm
action2 ==> takes a DynaValidatorForm (form1) for all the user data u
received in jsp1
action3 ==> called when jsp2 submission and displays jsp3
2. Is it c
k You.
Croff
From: "rahul" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List"
Subject: RE: form bean population confusion
Date: Mon, 03 Oct 2005 10:25:15 +0530
see inline comments #####
> -Original Messag
11 matches
Mail list logo