I think there is a thread on your backend writing to the ArrayList at the
same time your action class is reading the sam ArrayList instance.
I also had this problem and I fixed it by synchronizing the Arraylist during
the write(add) process.
synchronized (this.myArrayList) {
Hi all,
I would like to use a checkbox on one of my pages. Default it should be
checked.
Please consider following :
ActionForm :
...
private boolean addToMailingList = true;
...
public boolean isAddToMailingList() {
return addToMailingList;
}
public
Hi all,
I have following problem :
java.lang.IllegalArgumentException: No bean specified
at
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUti
ls.java:816)
at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:846)
at
Hi all,
I have a problem displaying error messages. Why is my message not displayed?
Am I doing somthing wrong?
Please help me, I'm loosing time with this one...
Please consider following code :
struts-config.xml :
...
form-bean name='someForm' type='SomeForm' /
...
action path='/something'
. If you
switch to ActionErrors.GLOBAL_ERROR it will display all of them with just
html:errors/
- Original Message -
From: Johan Kumps [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, February 20, 2003 4:02 PM
Subject: Validation problem
Hi all,
I have
independent messages not loaded -- contact
administrator
for assistance.
/font
/logic:notPresent
- Original Message -
From: Johan Kumps [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, February 20, 2003 4:25 PM
Subject: RE: Validation problem
Thanks
loaded?
- Original Message -
From: Johan Kumps [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, February 20, 2003 4:51 PM
Subject: RE: Validation problem
I implemented your second option.
-Oorspronkelijk bericht-
Van: Ian Hunter [mailto:[EMAIL
Hi all,
I'm having problems with validation of an field.
Can you give me an example of how to use html:errors/? Please give me a
code snippet of the form, the action, jsp, properties file and
struts-config.
Thanks in advance,
Johan
---
This mail is certified Virus Free.
Checked by AVG
This code snippet should do the job.
String value = pageContext.getRequest().getParameter(paramname);
Kind regards
-Oorspronkelijk bericht-
Van: Kevin Williams [mailto:[EMAIL PROTECTED]]
Verzonden: zaterdag 15 februari 2003 0:23
Aan: [EMAIL PROTECTED]
Onderwerp: HELP! get request
Title: Gletsjer
Hi all,
I'm using the jakarta mailer taglib. But I
have a problem with specifiying the path to the file to be attached to the
e-mail I send.
Please consider following code :
%String path ="data/myapp" + "/myFile.txt";%
mt:mail to="you@mydomain.be" from="me@mydomain.be"
Hi all,
It seems that my setXxx method in my form bean is not called when I do not
check any checkboxes in the multibox.
Please consider following code :
...
html:multibox name='configForm' property='myHandlers'
bean:write name='handler'/
/html:multibox
bean:write name='handler'/
...
...
PROTECTED]
Onderwerp: RE: html:multibox no selection (Struts 1.1b2)
In reset method of your ActionForm, set default value of checkbox.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Johan Kumps [mailto:[EMAIL PROTECTED]]
Sent
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Johan Kumps [mailto:[EMAIL PROTECTED]]
Sent: January 31, 2003 4:53 PM
To: Struts Users Mailing List
Subject: RE: html:multibox no selection (Struts 1.1b2)
I do not have a default value
-Original Message-
From: Johan Kumps [mailto:[EMAIL PROTECTED]]
Sent: January 31, 2003 4:58 PM
To: Struts Users Mailing List
Subject: RE: html:multibox no selection (Struts 1.1b2)
Sorry,
Can you give an example?
Johan
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL
Hi all,
Can somebody please trow a light on error handling using a DispatchAction.
The class org.apache.struts.actions.DispatchAction in Struts 1.1b2 is
catching an InvocationTargetException. So when the 'dispatchMethod' invokes
a method that throws an exception, it's catched here.
How can I
Hi,
No I'm using beta 2 of Struts. I'll try to use beta 3
I keep you in touch.
Kind regards,
-Oorspronkelijk bericht-
Van: Rick Reumann [mailto:[EMAIL PROTECTED]]
Verzonden: zondag 26 januari 2003 22:27
Aan: Struts Users Mailing List
Onderwerp: Re: DispatchAction error handling how to?
Could you please help me with an example of error handling using a
dispatchAction using the declarative exception handling?
Many thanks in advance,
Kind regards
-Oorspronkelijk bericht-
Van: Johan Kumps [mailto:[EMAIL PROTECTED]]
Verzonden: zondag 26 januari 2003 22:29
Aan: Struts Users
Hi all,
I have following problem.
In my Action class I'm calling a bussiness method that can throws a checked
exception. I want to display this exception to the user on a user friendly
page without the stacktrace. Because I have many action classes I don't want
to code try catch blocks in all
18 matches
Mail list logo