>help me how to create a bean and how to send data to and from the bean
Sure. Three easy lessons.
1) A bean is just an object of a class that follows a few conventions.
2) The bean class must have a constructor with no arguments, like
MyClass().
3) Beans have properties, and properties have setters and getters. Consider
property name "prop" of type "Proptype". Its setter must have the form:
void setProp(Proptype val);
(Note you must capitalize the first letter after "set"; the property name
is still "prop".) And getter:
Proptype getProp();
Properties that have array values must in addition define array element
setters and getters. E.g.,
void setProp(int index, Proptype item);
Proptype getAbc(int index);
That's all JSP knows or cares about beans.
Bob Foster
Symantec Internet Tools http://www.visualcafe.com/
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".