RE: Pb : request.SetAttribute() from Action

2002-05-24 Thread Galbreath, Mark
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

Re: Pb : request.SetAttribute() from Action

2002-05-24 Thread Damien VIEL
: 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

Re: Pb : request.SetAttribute() from Action

2002-05-24 Thread 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

RE: Pb : request.SetAttribute() from Action

2002-05-24 Thread Rajesh Kalluri
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

Re: Pb : request.SetAttribute() from Action

2002-05-24 Thread STEVE WILKINSON
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

Re: Pb : request.SetAttribute() from Action

2002-05-24 Thread Damien VIEL
: 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

Re: Pb : request.SetAttribute() from Action

2002-05-24 Thread Damien VIEL
: 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

RE: Pb : request.SetAttribute() from Action

2002-05-24 Thread Rajesh Kalluri
=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