Caroline, It would be the right way or wrong way depending upon where in your class you are calling this method. Could you paste the code for your form as well?
-Dhanashree. -----Original Message----- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 11:17 AM To: [EMAIL PROTECTED] Subject: 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]