Hmm, i don't think your Passaction code is complete??
With this code, you would already get an nllpointerexception on the v variable!
Aren't you missing something?
Otherwise: try Vector v=new Vector();
-Original Message-
From: vineesh . kumar [mailto:[EMAIL PROTECTED]
Sent: woensdag 18
Use html:options tag.
-Original Message-
From: vineesh . kumar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 12:43 PM
To: [EMAIL PROTECTED]
Subject: Accessing collections in jsp
To pass a range of values i used
in PassAction.java
Vector v=null;
]
Subject: RE: Accessing collections in jsp
Use html:options tag.
-Original Message-
From: vineesh . kumar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 12:43 PM
To: [EMAIL PROTECTED]
Subject: Accessing collections in jsp
To pass a range of values i used
In the (name=list)
Here the list should be same as key used during setAttribute
VAN BROECK Jimmy wrote:
Hmm, i don't think your Passaction code is complete??
With this code, you would already get an nllpointerexception on the v variable!
Aren't you missing something?
Otherwise: try
Vector v=new Vector();
v.add(somestring);
v.add(someotherstring);
request.setAttribute(list,v);
logic:iterate id=mylist name=list
Element Value: bean:write name=mylist /br /
/logic:iterate
-
To unsubscribe,
5 matches
Mail list logo