FAQ additions? (was Re: Help: Cannot find bean BEAN in scope null)

2001-08-30 Thread Gary Kephart

Thomas Quas wrote:

 Gary,

 it usually happens to me when I close the html:form too early, meaning
 there are some html:text's or others floating around after I did
 /html:form.

That was it. After that I had another problem, which a co-worker solved. At
any rate, here's two things to put into the FAQ:

Q: I get this message in my log file: Cannot find bean
org.apache.struts.taglib.html.BEAN in scope null. What's causing it?
A: it usually happens to me when I close the html:form too early, meaning
there are some html:text's or others floating around after I did
/html:form. (Thomas Quas [EMAIL PROTECTED])

Q: I get this message in my log file: No getter method for property
myProperty of bean org.apache.struts.taglib.html.BEAN even though I have a
getter method in my form bean.
A: This is a matter of case-sensitivity. Even though your Java method will be
public string getMyProperty(), with the M capitalized, the first letter of
the property in the JSP will be lower case. Your JSP will have this in it:
html:text property=myProperty  /


 Gary Kephart wrote:
 
  I get this message in the log file:
 
  Cannot find bean org.apache.struts.taglib.html.BEAN in scope null

Gary
--
Gary Kephart   | Basis 100
Software Engineer  | 4 Park Plaza, Suite 800
[EMAIL PROTECTED]  | Irvine, CA 92614
(949) 852-8600x262 | http://www.basis100.com

This communication is intended only for the use of the individual or
entity to whom/which it is addressed, and information contained in this
communication is privileged and confidential.  If the receiver of this
message is not the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited.  If you have received this communication in error, please
notify us at the above telephone number (so that we may correct our
internal records) and delete this communication without making a copy of
it.  Thank you.




Re: Help: Cannot find bean BEAN in scope null

2001-08-29 Thread Thomas Quas


Gary,

it usually happens to me when I close the html:form too early, meaning
there are some html:text's or others floating around after I did
/html:form.


Hope this helps, tom


Gary Kephart wrote:
 
 I get this message in the log file:
 
 Cannot find bean org.apache.struts.taglib.html.BEAN in scope null
 
 Does anyone know why this happened and how to fix it?
 
 Thanks,
   Gary
 --
 Gary Kephart   | Basis 100
 Software Engineer  | 4 Park Plaza, Suite 800
 [EMAIL PROTECTED]  | Irvine, CA 92614
 (949) 852-8600x262 | http://www.basis100.com
 
 This communication is intended only for the use of the individual or
 entity to whom/which it is addressed, and information contained in this
 communication is privileged and confidential.  If the receiver of this
 message is not the intended recipient, you are hereby notified that any
 dissemination, distribution or copying of this communication is strictly
 
 prohibited.  If you have received this communication in error, please
 notify us at the above telephone number (so that we may correct our
 internal records) and delete this communication without making a copy of
 
 it.  Thank you.

-- 
thomas quas| Art lies in the consciousness of doing the thing,
[EMAIL PROTECTED]  |  in the attention of the happening[...]
   |-- Allen Ginsberg --