> Prashant Rao wrote:
>
> Hi I am new to Tomcat. I am trying to incorporate my own beans in
> JSP. However I am unable to access the form variables in the beans
> though the bean is instantiated on execution of the JSP execution.
> Going through the archives I found the some articles on including
> the BeanInfo class for each bean.
> Do I have to create the beaninfo class for each bean If so what
> are the required methods in the class and where do i put the
> beanInfo class ?
You don't have to create a BeanInfo. The usual reason for this
problem has to do with naming your variables and the setX methods.
Your variable name must start with a lower case letter and
the set method must change that to upper case.
String myName ;
public void setMyName( String s ) { myName = s ; }
--
WBB - [EMAIL PROTECTED] Chief Scientist, LANWrights, Inc.
Java Programmer Certification information and mock exam
at http://www.lanw.com/java/javacert/