To: Struts Users Mailing List
Subject: Re: Help please - indexed field in ActionForm
Hi;
Thank you - this is part of what I need.
Is there any way to iterate through the lines if I don't know
up front how
many lines there will be? I tried the with the c JSTL and it
doesn't work
:
%@ taglib uri=/tags/struts-html-el prefix=html-el %
HTH,
Erez
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 1:39 AM
To: Struts Users Mailing List
Subject: Re: Help please - indexed field in ActionForm
Hi;
Thank you - this is part
class MyActionForm
{
private static final MAX_ENTRIES = 50;
private String[] text;
public MyActionForm()
{
text = new String[MAX_ENTRIES];
}
public String[] getText() {return text;}
public void setText(int index, String newText) {text[index] = newText;}
}
my.jsp
html:html
Mailing List [EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 4:55 PM
Subject: RE: Help please - indexed field in ActionForm
class MyActionForm
{
private static final MAX_ENTRIES = 50;
private String[] text;
public MyActionForm()
{
text = new String[MAX_ENTRIES];
}
public String
:
Subject: RE: Help please - indexed
field in ActionForm
08/07/2003 09:09
PM
5 matches
Mail list logo