to cinema this
evening :)
Those exceptions are due to lacking setters and getters.
I will let you know soon.
Thanks a lot again ! :)
Dom
--- En date de : Sam 27.11.10, Li Ying liying.cn.2...@gmail.com a écrit :
De: Li Ying liying.cn.2...@gmail.com
Objet: Re: javax.servlet.ServletException
I think the reason of the Exception maybe:
(1)the data you post is named like liste[0].nom
(2)Struts1 accept this http param, and try to translate it to a form
property, by using a lib named Apache Commons BeanUtils
See: http://commons.apache.org/beanutils/
(3)BeanUtils treats nested property
I have dug it out from my old project.
The code is not very beautiful, you can modify it if you wish,
but please don't change the author information.
Here is the code:
package com.ewsoft.common.utils;
import java.lang.reflect.Constructor;
import
contenu fourni.
Date: Sat, 27 Nov 2010 18:26:11 +0900
Subject: Re: javax.servlet.ServletException: BeanUtils.populate
From: liying.cn.2...@gmail.com
To: user@struts.apache.org
I have dug it out from my old project.
The code is not very beautiful, you can modify it if you wish
There will be only one class, which will be the class of the elements
in the List.
I just want to find the Constructor with the least parameters if there
are more than one constructors for this class.
Once I get the constructor, I can use it to create instance and append
it to List
: javax.servlet.ServletException: BeanUtils.populate
I think the reason of the Exception maybe:
(1)the data you post is named like liste[0].nom
(2)Struts1 accept this http param, and try to translate it to a form property,
by using a lib named Apache Commons BeanUtils
See: http://commons.apache.org/beanutils/
(3)BeanUtils
What happens when
(1)liste is null
or
(2)liste is filled by null element
or
(3)index accessed is out of bound?
2010/11/27 Peter Nguyen pe...@peternguyen.id.au:
Li,
I think the issue is here is most likely point 3. When the form is submitted,
I suspect struts is trying to call
a JSP. That's OK, the formular appears with the
datas. But when clicking submit button, application crashes, and shows this
accursed exception :
javax.servlet.ServletException: BeanUtils.populate
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java
exception :
javax.servlet.ServletException: BeanUtils.populate
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doPost
davelnew...@gmail.com a écrit :
De: Dave Newton davelnew...@gmail.com
Objet: Re: javax.servlet.ServletException: BeanUtils.populate
À: Struts Users Mailing List user@struts.apache.org
Cc: lukasz.len...@gmail.com
Date: Vendredi 26 novembre 2010, 14h01
There's nothing in the form that
indicates
)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
javax.servlet.ServletException: BeanUtils.populate
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:475
effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
Date: Fri, 26 Nov 2010 10:55:58 -0500
Subject: Re: javax.servlet.ServletException: BeanUtils.populate
From
: Dave Newton davelnew...@gmail.com
Objet: Re: javax.servlet.ServletException: BeanUtils.populate
À: Struts Users Mailing List user@struts.apache.org
Date: Vendredi 26 novembre 2010, 16h55
Oh. I'm sorry, I completely missed
the nested tags (not sure how I missed
it, though :)
Sorry
Hello Martin,
What do you mean ?
--- En date de : Ven 26.11.10, Martin Gainty mgai...@hotmail.com a écrit :
De: Martin Gainty mgai...@hotmail.com
Objet: RE: javax.servlet.ServletException: BeanUtils.populate
À: Struts Users Mailing List user@struts.apache.org
Date: Vendredi 26 novembre 2010
quel effet légalement obligatoire. Étant donné que les email
peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
aucune responsabilité pour le contenu fourni.
Date: Fri, 26 Nov 2010 10:55:58 -0500
Subject: Re: javax.servlet.ServletException: BeanUtils.populate
From
: javax.servlet.ServletException: BeanUtils.populate
From: maurizio.cucchi...@gmail.com
To: user@struts.apache.org
Susanna Hoffs – vocals/guitars
Vicki Peterson – vocals/guitars/bass guitar
Debbi Peterson – vocals/drums/bass guitar
Annette Zilinskas – vocals/bass guitar (1982–1983)
Michael Steele – vocals
you've listed 5 people who are more well known than Tim Berners-Lee
Who the hell is TimBL?
Wait... I know is a member of genesis
2010/11/26 Martin Gainty mgai...@hotmail.com:
--
Maurizio Cucchiara
-
To unsubscribe, e-mail:
Are the Bangles Struts expert ?... Are they as skilled in Struts as singing
?... :)
--- En date de : Ven 26.11.10, Martin Gainty mgai...@hotmail.com a écrit :
De: Martin Gainty mgai...@hotmail.com
Objet: RE: javax.servlet.ServletException: BeanUtils.populate
À: Struts Users Mailing List user
Just a guy who had a cool idea once ... the web (easily googled for
details).
Brian
Sent via my Droid, Eka.
On Nov 26, 2010 11:53 AM, Maurizio Cucchiara maurizio.cucchi...@gmail.com
wrote:
you've listed 5 people who are more well known than Tim Berners-Lee
Who the hell is TimBL?
Wait... I
To: Struts Users Mailing List
Subject: RE: javax.servlet.ServletException: BeanUtils.populate
Are the Bangles Struts expert ?... Are they as skilled in Struts as singing
?... :)
--- En date de : Ven 26.11.10, Martin Gainty mgai...@hotmail.com a écrit :
De: Martin Gainty mgai...@hotmail.com
Objet: RE
,
Dom
--- En date de : Sam 27.11.10, Peter Nguyen pe...@peternguyen.id.au a écrit :
De: Peter Nguyen pe...@peternguyen.id.au
Objet: RE: javax.servlet.ServletException: BeanUtils.populate
À: 'Struts Users Mailing List' user@struts.apache.org
Date: Samedi 27 novembre 2010, 0h05
Lol. Guys you're
Hello all,
Although I have used Struts for five years, I have been facing a trouble since
Monday and I don't understand what's happening...
So may I ask for some help in this mailing list ?...
I rather prefer asking before drafting a long mail. :)
Sincerly,
Dominique
French Web developper
If it's Struts-related, sure.
Dave
On Thu, Nov 25, 2010 at 4:05 PM, Dominique JUSTE dju...@yahoo.com wrote:
Hello all,
Although I have used Struts for five years, I have been facing a trouble
since Monday and I don't understand what's happening...
So may I ask for some help in this
2010/11/25 Dominique JUSTE dju...@yahoo.com:
Although I have used Struts for five years, I have been facing a trouble
since Monday and I don't understand what's happening...
Monday, monday ... manic monday...
http://www.youtube.com/watch?v=lAZgLcK5LzI
Kind regards ;-)
--
Łukasz
+ 48 606
24 matches
Mail list logo