A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Vector with bean:write tag
Joined: Aug 11, 2004
Aug 11, 2004 08:44:00
I have a class file with a Vector having 3 values.something like....
Vector v=new Vector();
this vector is called in the Formbean
public Vector getEthcontroller()
I the jsp page I am calling it as
<bean:write name="netfrm" property="ethcontroller"/>
My problem is I have to extract vlaues for the vector one by one and plcae it to some specific location on the jsp page.
How will I do it.
Joined: Apr 11, 2001
Aug 12, 2004 04:10:00
use collection instead of Vector.
author & internet detective
Joined: May 26, 2003
Aug 12, 2004 09:39:00
Why are you storing those values in the Vector rather than as 3 separate fields?
While I agree that it is better to use Collection (since it is an interface), I don't see how it would help with this question.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: Vector with bean:write tag
Creating multiple arrays at run time?
Problem with logic:iterate tag
Why can't I get the Vector value in jsp(ModalDialog)?
a FreeMarker question
display selective value from VECTOR
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014