You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Strichartz, Beth" <BS...@sovereignbank.com> on 2001/12/19 23:35:41 UTC

New User Question..How to refer to my formbean in a sciplet

Hello,

IN my jsp; I want to set a variable in my form bean (which is in scope)that
requires an argument

Can I 
<%MyFormbean.setBank(code) %> 
I get the error: Non Static method cannot be referenced from a static
context

How can I refer to my Form???


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>