First, don't type proj as an ArrayList; it should be a List.
Second, if what is happening is as you say, proj == null. Check what you
are putting into it.
Mark
-Original Message-
From: Damien VIEL [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 12:25 PM
Hi,
I've many problem to
: Friday, May 24, 2002 6:34 PM
Subject: RE: Pb : request.SetAttribute() from Action
First, don't type proj as an ArrayList; it should be a List.
Second, if what is happening is as you say, proj == null. Check what you
are putting into it.
Mark
-Original Message-
From: Damien VIEL
Subject: RE: Pb : request.SetAttribute() from Action
First, don't type proj as an ArrayList; it should be a List.
Second, if what is happening is as you say, proj == null. Check what you
are putting into it.
Mark
-Original Message-
From: Damien VIEL [mailto:[EMAIL PROTECTED]]
Sent
To: Struts Users Mailing List
Subject: Re: Pb : request.SetAttribute() from Action
Hi,
With the List I have the following error:
java.lang.NullPointerException at action.MyAction.perform(MyAction.java:50)
Thanks
Dams
- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts
Am I missing something, but you put an ArrayList in the request. The
ArrayList contains multiple LabelValue objects.
logic:iterate id=whatYouWantToCallIt type=java.util.List
name=projects
FYI, see my other post about using the Log TabLib from the JSTL project. It
helps in these kinds of
: Rajesh Kalluri [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, May 24, 2002 7:17 PM
Subject: RE: Pb : request.SetAttribute() from Action
Damien,
Did you import the struts tags, if not the tags cannot be interpreted and
you will have the message from Error from
: Damien VIEL [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, May 24, 2002 9:58 PM
Subject: Re: Pb : request.SetAttribute() from Action
Yes I did,
following my JSP :
%@ taglib uri=/WEB-INF/tld/app.tld prefix=app %
%@ taglib uri=/WEB-INF/tld/struts-html.tld prefix=html
=java.util.ArrayList
bean:write name=proj property=label/
br
/logic:iterate
Raj
-Original Message-
From: Damien VIEL [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 3:58 PM
To: Struts Users Mailing List
Subject: Re: Pb : request.SetAttribute() from Action
Yes I did,
following my JSP
8 matches
Mail list logo