to connect with the jsp page. The
page
displays fine, but when I try to save it, I get the following error:
javax.servlet.ServletException: BeanUtils.populate
at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254)
at
org.apache.struts.action.RequestProcessor.processPopulate
){}
}
}
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 4:12 AM
To: Struts Users Mailing List
Subject: Re: BeanUtils.populate Invocation Error
I had a similar problem yesterday with multiple selected select menus.
What does your form bean look like
Subject: Re: BeanUtils.populate Invocation Error
I had a similar problem yesterday with multiple selected select menus.
What does your form bean look like and then your nested beans.
On 14 Jan 2004, at 03:57, Nathan Ewing wrote:
I have a jsp page with a form on it using indexed properties. I
:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 9:17 AM
To: Struts Users Mailing List
Subject: Re: BeanUtils.populate Invocation Error
Looks complicated what are you trying to do? Sorry I'm pretty stupid
and so i try and keep things simpler.
On 14 Jan 2004, at 13:55, Nathan Ewing wrote
of opening them all
individually.
Thanks,
Nathan
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 9:17 AM
To: Struts Users Mailing List
Subject: Re: BeanUtils.populate Invocation Error
Looks complicated what are you trying to do
To: Struts Users Mailing List
Subject: Re: BeanUtils.populate Invocation Error
So have you something like this?
public class PropertyEditForm extends ActionForm {
//bla bla
}
public class PropertyListForm extends ActionForm {
private ArrayList propertyList;
public
;
}
public void setPropertyList(int i, Property property) {
propertyList[i] = property;
}
}
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 9:58 AM
To: Struts Users Mailing List
Subject: Re: BeanUtils.populate
Subject: Re: BeanUtils.populate Invocation Error
I've never tried putting a bean in a bean and then referring to itself,
does the java stuff that can sniff bean properties deal with that.
The refraction or reflection stuff that bean utils does.
On 14 Jan 2004, at 15:24, Nathan Ewing wrote
in the forum and found out this is a common problem/bug in struts.
Nathan
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 11:30 AM
To: Struts Users Mailing List
Subject: Re: BeanUtils.populate Invocation Error
I've never tried
);
}
}
benefitDescriptions.set(key, value);
}
Thank-you,
Manoj Mathew
GIS 515-362-0539
-Original Message-
From: Nathan Ewing [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 11:59 AM
To: 'Struts Users Mailing List'
Subject: RE: BeanUtils.populate Invocation Error
I
I'm getting an exception thrown by bean utils when i submit a form, i
think this is related to setting a form property of type hashmap.
The values are set correctly in the jsp, and i'm not validating yet.
Are there any issues related to using maps as form properties? I've
scoped the form to
Don't worry I was being a dick..
On 13 Jan 2004, at 10:05, Mark Lowe wrote:
I'm getting an exception thrown by bean utils when i submit a form, i
think this is related to setting a form property of type hashmap.
The values are set correctly in the jsp, and i'm not validating yet.
Are there
beanUtils keeps getting its knickers in a twist when i submit a form
with 2 select menus with multiple values. I've had this working before
with the same version of struts and commons. Its not the action as the
exception is thrown before i get that far, when i remove the menus the
form
://www.arc-mind.com/consulting.htm#StrutsMentoring
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 7:18 AM
To: Struts Users Mailing List
Subject: Bothersome BeanUtils.populate exception
beanUtils keeps getting its knickers in a twist when i submit
/J2EE consulting --
http://www.arc-mind.com/consulting.htm#StrutsMentoring
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 7:18 AM
To: Struts Users Mailing List
Subject: Bothersome BeanUtils.populate exception
beanUtils keeps getting its knickers
-mind.com/strutsCourse.htm
Struts/J2EE consulting --
http://www.arc-mind.com/consulting.htm#StrutsMentoring
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 7:18 AM
To: Struts Users Mailing List
Subject: Bothersome BeanUtils.populate exception
beanUtils
Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 11:06 AM
To: Richard Hightower
Cc: Struts Users Mailing List
Subject: Re: Bothersome BeanUtils.populate exception
Hi Richard
Here are the summarized bits
public ArrayList getColours() {
return
I have a jsp page with a form on it using indexed properties. I have a bean
with an array of beans that I use to connect with the jsp page. The page
displays fine, but when I try to save it, I get the following error:
javax.servlet.ServletException: BeanUtils.populate
...
-- Raman
[EMAIL PROTECTED]
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 7:59 PM
Subject: Re: BeanUtils.populate Error
On 20 Dec 2003, at 11:28, Raman wrote:
ya the properties are same both
I am facing a error in Struts at BeanUtils.populate and not able to trace the cause.
has anyone already face this problem? if yes what the cause. Pls help.
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request
When are you getting this? Are you using dynaforms and/or validator
action forms?
On 20 Dec 2003, at 09:36, Raman wrote:
I am facing a error in Struts at BeanUtils.populate and not able to
trace the cause.
has anyone already face this problem? if yes what the cause. Pls help.
type Exception
Hi I am using Validator form... is there something i am doing wrong in
that?
-- Raman
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 4:11 PM
Subject: Re: BeanUtils.populate Error
When are you
check your form and bean properties, types, ... they have to be same...
F.
- Original Message -
From: Raman [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 12:41 PM
Subject: Re: BeanUtils.populate Error
Hi I am using Validator form
, at 10:41, Raman wrote:
Hi I am using Validator form... is there something i am doing wrong in
that?
-- Raman
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 4:11 PM
Subject: Re: BeanUtils.populate Error
: Saturday, December 20, 2003 4:20 PM
Subject: Re: BeanUtils.populate Error
check your form and bean properties, types, ... they have to be same...
F.
- Original Message -
From: Raman [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 12
TIRYAKI [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 4:20 PM
Subject: Re: BeanUtils.populate Error
check your form and bean properties, types, ... they have to be
same...
F.
- Original Message -
From: Raman [EMAIL PROTECTED
-- Raman
- Original Message -
From: Firat TIRYAKI [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 4:20 PM
Subject: Re: BeanUtils.populate Error
check your form and bean properties, types, ... they have to be
same...
F.
- Original
: Tuesday, 16 December 2003 7:26 PM
To: RALPH ROPER
Subject: Re: [struts-nested] BeanUtils.populate exception
Yes, solved with the help of Arron Bates (http://www.keyboardmonkey.com)
The whole thread is in this message, however, if you prefer to read it one
by one, you can search in the mail archive my
you
Daniel
- Original Message -
From: Arron Bates [EMAIL PROTECTED]
To: Daniel Blázquez [EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 5:02 AM
Subject: Re: [struts-nested] BeanUtils.populate exception
Daniel,
What's the property that it's failing on?... is it the monkeys[i
[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 12:49 PM
Subject: Re: Fw: [struts-nested] BeanUtils.populate exception
Daniel,
I don't know the specifics of having a long primitive as the value for Age,
but what a lot of people do is to have a String property handle the input
as Arron's monkey tree -so simple, and cute-...
but nothing works! :(
Any ideas please?
- Original Message -
From: Daniel Blzquez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 5:55 PM
Subject: [struts-nested] BeanUtils.populate exception
Hi,
I have been
: BeanUtils.populate
at org.apache.struts.util.RequestUtils.populate RequestUtils.java:1254)
(no extra info about ArrayIndexOutOfBounds or a more detailed exception)
when submitting a form that uses a nested collection of objects. Each object
is showing in the form a select and a input text box (as a form
Hi Gaurav,
It's me. Are you working on Struts?
Thanks,
Krishna
-Original Message-
From: Gaurav Gupta [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 27, 2003 4:18 PM
To: 'Struts Users Mailing List'
Subject: RE: javax.servlet.ServletException: BeanUtils.populate
Is it Krishna
I
submit the page, I am getting the error- javax.servlet.ServletException:
BeanUtils.populate Root cause: java.lang.IllegalArgumentException: No bean
specified. Pl. help me understand what went wrong.
The following is the jsp page
%@ page language=java session=true%
!-- Imports--
%@ taglib uri
Is it Krishna Mohan , previously with MTC India ??
sorry for botheration
-Original Message-
From: krishnamohan [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 27, 2003 3:56 PM
To: [EMAIL PROTECTED]
Subject: javax.servlet.ServletException: BeanUtils.populate
Hi,
I am writing
was NOT
represented by a checkbox (Of course, I had to change
reset() to leave the property null instead of
defaulting false when mode=query is in the request).
BeanUtils.populate does clearly specify that it only
handles setters for String, boolean, int, long, float,
and double. Still, I was surprised
ConversionException(stringValue);
}
Jing
Netspread Carrier
http://www.netspread.com
- Original Message -
From: Michael Ruppin [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, August 22, 2003 11:03 AM
Subject: [FRIDAY] BeanUtils.populate and Booleans
Hi,
Thanks Tim and ATTA finally my stuff is working I didnt put the scope for form in
session.
-Original Message-
From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 12:40 PM
To: 'Struts Users Mailing List'
Subject: RE: BeanUtils.Populate exception
'
Subject: RE: BeanUtils.Populate exception(Indexed Properties)
4)Now Im able to diplay in the jsp page but when I submit
this page its throwing
javax.servlet.ServletException: BeanUtils.populate at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java
:1098) exception.
See the response
To: 'Struts Users Mailing List'
Subject: RE: BeanUtils.Populate exception(Indexed Properties)
4)Now Im able to diplay in the jsp page but when I submit
this page its throwing
javax.servlet.ServletException: BeanUtils.populate at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java
]
Sent: Friday, August 08, 2003 8:26 PM
To: Struts Users Mailing List
Subject: BeanUtils.Populate exception(Indexed Properties)
1)I have an arraylist called alist which contain collection of
Beans(IpAddress)
I provided the getter and setter methods for alist and getIpAddress(int
index
/tr
/logic:iterate
/table
4)Now Im able to diplay in the jsp page but when I submit this page its throwing
javax.servlet.ServletException: BeanUtils.populate at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1098) exception.
Thanks!
Sridhar
I'm totally confused you say that I need to write these methods
Here's your iterate tag:
logic:iterate id=ipAddress type=com.register.struts.account.IpAddress
name=editAdvancedForm property=alist
And here are html:text tags:
html:text name=ipAddress property=domainName indexed=true/
4)Now Im able to diplay in the jsp page but when I submit
this page its throwing
javax.servlet.ServletException: BeanUtils.populate at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java
:1098) exception.
See the response I made a couple of hours ago on this same issue. I just
some processing on them.
(No Problem)
After doing it's processing action A returns an ActionForward which
goes to action B. At this point an IndexOutOfBoundsException occurs
within BeanUtils.populate() and action B's execute() method is never
reached.
My question is, aren't the request parameters
. But when I click on look up button on the page. It
throws the exception --javax.servlet.ServletException: BeanUtils.populate.
My action and struts-config are attached below. THANKS FOR ANY INSIGHT ON THIS...
Charlene
action path=/ssoXref parameter=operation type
Hi,
When I submit a page for save operation I get the BeanUtils.populate
exception. Any solution for solving this problem.
Below is the stack trace of the exception.
BeanUtils.populate
javax.servlet.ServletException: BeanUtils.populate
: maandag 28 juli 2003 15:25
To: Struts Users Mailing List
Subject: Getting BeanUtils.Populate() Exception.
Hi,
When I submit a page for save operation I get the BeanUtils.populate
exception. Any solution for solving this problem.
Below is the stack trace of the exception
property=quantiteRecue indexed=true
size=3 maxlength=3 //font
/TD ...
/TR
/logic:iterate
This is ok.
But if i remove the size attribute of form-property I have a
javax.servlet.ServletException: BeanUtils.populate caused by an
java.lang.ArrayIndexOutOfBoundsException
could
Hi,
Is there any mechanism to populate form fields whose class isn't from
java.lang?
Apologies if this question should be directed to the commons-beanutils list.
e.g. org.apache.log4j.Level
thanks
Nathan
-
To unsubscribe,
:55,504 INFO [SecurityContextFilter] processing request /alert.do
11:00:55,544 ERROR [SecurityContextFilter] Exception
javax.servlet.ServletException: BeanUtils.populate
at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1098
: javax.servlet.ServletException: BeanUtils.populate
I have an error that I have been working on for 3 solid days. i have
searched the archives, but can't find my issue resolved anywhere.
I have an array of objects (ContactDto[]) that I need to display. I
actually
have the full list I send in (userContacts
='org.apache.struts.taglib.html.LocalStrings', returnNull=true
11:00:55,504 INFO [SecurityContextFilter] processing request /alert.do
11:00:55,544 ERROR [SecurityContextFilter] Exception
javax.servlet.ServletException: BeanUtils.populate
at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1098
from the form, like the multi-select, but
that did not seem to help.
From: David Graham [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: URGENT: javax.servlet.ServletException: BeanUtils.populate
Date: Thu, 29 May 2003 12:34:23 -0600
FYI
Add Record
From: James Mitchell [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: URGENT: javax.servlet.ServletException: BeanUtils.populate
Date: Thu, 29 May 2003 14:31:27 -0400
What is the value of button.add
: Thursday, May 29, 2003 2:26 PM
Subject: URGENT: javax.servlet.ServletException: BeanUtils.populate
I have an error that I have been working on for 3 solid days. i have
searched the archives, but can't find my issue resolved anywhere.
I have an array of objects (ContactDto[]) that I need
I see that you are returning a value of userId in user contacts property
in your JSP. Now, I am not familiar with DynaForms, but you have the
field defined as ContactDto type. Could this be the problem? Since you
are returning a string and it is expecting a ContactDto type?
Can anyone
, I have started to remove items from the form, like the multi-select,
but that did not seem to help.
From: David Graham [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: URGENT: javax.servlet.ServletException: BeanUtils.populate
Date: Thu
: javax.servlet.ServletException: BeanUtils.populate
Date: Thu, 29 May 2003 14:43:08 -0400
One other thing I noticed, you've got a potential circular reference in
/alert by specifying the input as /alert.do.
--
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org
- Original Message
: javax.servlet.ServletException: BeanUtils.populate
Date: Thu, 29 May 2003 14:52:57 -0400
I see that you are returning a value of userId in user contacts property in
your JSP. Now, I am not familiar with DynaForms, but you have the field
defined as ContactDto type. Could this be the problem
, and I also tried using alertContacts as well as the name.
From: David Graham [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: javax.servlet.ServletException: BeanUtils.populate
Date: Thu, 29 May 2003 12:57:32 -0600
I couldn't find any HTML
I think it's your dates that might be the problem.
BeanUtils does not have a supplied converter for java.util.Date. Try using
java.sql.Date
You may need a helper method on your form that returns a correctly formatted
SQL date (-mm-dd).
Steve
, but does on 15 others?
---
Thanks...
Mick Knutson
---
From: Steve Raeburn [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: URGENT: javax.servlet.ServletException: BeanUtils.populate
Date: Thu, 29 May 2003 12:20:56 -0700
I think it's
);
// Auto-populate (with conversions) all the other properties
BeanUtils.populate(myBean, map);
// Manually set the other properties
// Note: I'm using a fixed format here for simplicity,
// You should probably condsider parsing based on your
// Locale or your user's Locale
:55,504 INFO [SecurityContextFilter] processing request /alert.do
11:00:55,544 ERROR [SecurityContextFilter] Exception
javax.servlet.ServletException: BeanUtils.populate
at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1098
= linkFile;}
In the add JSP I added:
html:file property=linkFile /
My save action will handle the file, but submitting the form results in
the following error:
E SRVE0026E: [Servlet Error]-[BeanUtils.populate]:
java.lang.IllegalArgumentException: argument type mismatch
SRVE0026E: [Servlet Error]-[BeanUtils.populate]:
java.lang.IllegalArgumentException: argument type mismatch
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.
java:1789
No, I forgot that! I made very sure to *not* forget that the first time
around, but alas, it slipped my mind this time. It works fine now. Thanks
a lot Stephen.
Susan
On 02/28/2003 10:11:39 AM Stephen Smithstone wrote:
have u got the encrpt line in your jsp form ?? or what ever it is
On
no problem susan i make the same mistake on several occasions
On Friday 28 February 2003 3:17 pm, Susan Bradeen wrote:
No, I forgot that! I made very sure to *not* forget that the first time
around, but alas, it slipped my mind this time. It works fine now. Thanks
a lot Stephen.
Susan
On
=birthday/html:errors
property=birthday//br
...
/html:form
But there is an Error:
javax.servlet.ServletException: BeanUtils.populate
at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1099
PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, December 19, 2002 10:03 PM
Subject: Re: beanutils.populate with formbeans and vectors
Michael,
This code works:
TestActionForm.java
---
package com.test;
import java.util.*;
import
komplex und
diskreditiert damit den
Entwickler!
- Original Message -
From: Richard Yee [EMAIL PROTECTED]
To: Struts Users Mailing List
[EMAIL PROTECTED]
Sent: Thursday, December 19, 2002 7:16 PM
Subject: Re: beanutils.populate with formbeans and
vectors
Michael,
How
: Michael Olszynski [SMTP:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 2:24 AM
To: Struts Users Mailing List
Subject: Re: beanutils.populate with formbeans and vectors
Hi Richard
you have following methods in your Action form (see below)
shouldn´t
public Object getItem(int
Michael,
You need to put the methods that I sent in the
FormBean class and not your Vector subclass. You
really don't need to subclass the Vector.
ex.
public class MyForm extends ActionForm
{
private Vector myFoos = new Vector();
/**
* getter for indexed property in myFoos
*/
(PageContextImpl.jav
--
Fehlerfreie Software wirkt weniger komplex und diskreditiert damit den
Entwickler!
- Original Message -
From: Richard Yee [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 19, 2002 6:11 PM
Subject: Re: beanutils.populate with formbeans and vectors
Michael,
You need
) timeProofList.get(index);
}
I get following error:
18:49:56,141 ERROR [Engine] StandardWrapperValve[action]: Servlet.service()
for
servlet action threw exception
javax.servlet.ServletException: BeanUtils.populate
at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:980
wirkt weniger komplex und
diskreditiert damit den
Entwickler!
- Original Message -
From: Richard Yee [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 19, 2002 6:11 PM
Subject: Re: beanutils.populate with formbeans and
vectors
Michael,
You need to put
wirkt weniger komplex und diskreditiert damit den
Entwickler!
- Original Message -
From: Richard Yee [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, December 19, 2002 7:16 PM
Subject: Re: beanutils.populate with formbeans and vectors
Michael,
How are you
: Re: beanutils.populate with formbeans and
vectors
Michael,
How are you accessing the indexed property in the
JSP?
-Richard
--- Michael Olszynski [EMAIL PROTECTED]
wrote:
Hi Richard,
thanks again for your quick reply. I thought I
need
to subclass Vector,
because I
-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 5:02 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT - BeanUtils.populate] 'Case' of property name
Thanks for all of the replies...
I looked at BeanInfo and didn't think
: RE: [OT - BeanUtils.populate] 'Case' of property name
Are you using quotes around your aliases in your SQL? We
found the trick to
getting Oracle to respect case was to quote the alias. At
least this is
true of version 8.1.x.
Thomas Gideon
Sr. Software Developer
B2eMarkets
:37 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT - BeanUtils.populate] 'Case' of property name
Thomas,
Tried this yesterday, and then again today after I got your
reply. I keep
getting an Oracle error
ORA-00923: FROM keyword not found where expected
Here
Mailing List'
Subject: RE: [OT - BeanUtils.populate] 'Case' of property name
Single quotes and double quotes mean different things in
PL/SQL and are not
interchangeable. You need to use double quotes for your
column aliases, the
single quotes are causing Oracle to expect something
I may just be out of luck, but maybe someone can tell me an easy way of
fixing this
I get a ResultSet back from a database call. Using ResultSetMetaData, I
grab the column names and values and put them in a HashMap. I then use
BeanUtils.populate to 'set' the values in a JavaBean
-
From: Jerry Jalenak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 08, 2002 5:32 PM
Subject: [OT - BeanUtils.populate] 'Case' of property name
I may just be out of luck, but maybe someone can tell me an easy way of
fixing this
I get a ResultSet back from a database call
12:32 PM
To: '[EMAIL PROTECTED]'
Subject: [OT - BeanUtils.populate] 'Case' of property name
I may just be out of luck, but maybe someone can tell me an
easy way of
fixing this
I get a ResultSet back from a database call. Using
ResultSetMetaData, I
grab the column names
individually :-(
Jerry
-Original Message-
From: Gideon, Thomas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 1:52 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT - BeanUtils.populate] 'Case' of property name
Probably the best solution is to alias the columns
Hi,
could you send pieces of your code? It still doesn't work for me ;O(
Thanks,
Martin
Vincent Berruchon wrote:
No exception if you replace your ArrayList by a String[] (for the
properties used by the select tag).
Vincent Berruchon wrote:
I get a BeanUtils.populate() exception when
I get a BeanUtils.populate() exception when a form with a multiple
select is posted (with struts 1.0.2, Martin reported this Bug a few days
ago - bugzilla bug id #: 13075) :
javax.servlet.ServletException: BeanUtils.populate
at org.apache.struts.util.RequestUtils.populate
No exception if you replace your ArrayList by a String[] (for the
properties used by the select tag).
Vincent Berruchon wrote:
I get a BeanUtils.populate() exception when a form with a multiple
select is posted (with struts 1.0.2, Martin reported this Bug a few days
ago - bugzilla bug id
Struts to try to assign the selected
folder back to the form bean by calling setFolders (albeit indirectly via
BeanUtils.populate), but setFolders is expecting an ArrayList rather than a single
item from a list which your submit is sending back as a String.
I suspect what you need to do is introduce
you expect i.e. getting the list of folders the user can select from.
However, your html:select... tag is telling Struts to try to assign the selected
folder back to the form bean by calling setFolders (albeit indirectly via
BeanUtils.populate), but setFolders is expecting an ArrayList rather
It will be examined and addressed in due time. If you have time to get
hacking on it (wrt the source that is) and happen to be able to fix it,
you should attach a diff -u of your changes to the bug so that it can
be easily patched by a committer.
Martin Grebac wrote:
Hi,
so here is the
I have a question regarding on the BeanUtils.populate() relative to
jsp:setProperty within Tomcat 4.0.4. I didn't see anything on this within
the mail-archive, so, if there is a prior thread discussing this please let
me know how to access that thread.
When using an HTML form that contains all
- Original Message -
From: hemant [EMAIL PROTECTED]
To: struts [EMAIL PROTECTED]
Sent: Tuesday, July 30, 2002 10:13 AM
Subject: Checkboxes and Intermittent BeanUtils.populate Error
Comrades,
I check a checkbox and submit, I get the error. If I do not use the checkbox
and hit submit
]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, July 16, 2002 1:36 AM
Subject: RE: BeanUtils.populate exception
ok.. since i haven't gotten anywhere in the past 3 hours, i'll repost
this..
(i even looked through the source code, RequestUtils.java:774 is a throw
exception,
ha ha
servlet action: javax.servlet.ServletException:
BeanUtils.populate
Exception Stack Trace:
javax.servlet.ServletException: BeanUtils.populate at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:774) at
org.apache.struts.action.ActionServlet.processPopulate(ActionServlet.java:20
61
.
/ Tomas
- Original Message -
From: Miriam Aguirre [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, July 16, 2002 6:34 PM
Subject: RE: BeanUtils.populate exception
unfortunately, that's the only exception in the log :
i;m going to try to change all
,
for other users, if i unselect a specific box i get :
javax.servlet.ServletException: BeanUtils.populate
at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:774)
at
org.apache.struts.action.ActionServlet.processPopulate(ActionServlet.java:20
61
. does anyone see the
problem here?
thanks,
-Miriam
-Original Message-
From: Miriam Aguirre [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 1:19 PM
To: '[EMAIL PROTECTED]'
Subject: BeanUtils.populate exception
I'm having a weird problem with a form ---
the form has some
1 - 100 of 143 matches
Mail list logo