You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Caroline Jen <ji...@yahoo.com> on 2004/10/13 18:16:49 UTC

The get() Method in the ActionForm

I have selectRecipientsForm that extends ActionForm.

After the form is populated, I have this:

String[] to =
SelectRecipientsForm.getSelectedEmailAddresses();

I thought that it was the right way to get something
in the populated form; but, the compiler says that the
non-static method getSelectedEmailAddresses() cannot
be referenced from a static context.

What should I do?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org