How to implements JavaBean in Tomcat 4.1.x in Win 2000 and solaris

2003-04-01 Thread Carlos Alberto Peláez Ayala
Hello Friends, Iam a beggining in the use of javabeans and jsp pages. I try to run this example: The file login7.jsp: jsp:useBean id=FormBean class=userinfo.FormBean/ jsp:setProperty name=FormBean property=*/ HTML HEAD TITLEForm Example/TITLE /HEAD BODY BGCOLOR=#cc % if

RE: How to implements JavaBean in Tomcat 4.1.x in Win 2000 and solaris

2003-04-01 Thread graghupathy
remove the constructor and initialize the variable to null and try ... should be package userinfo; import java.io.*; public class FormBean implements Serializable private String name = null; private String email = null; public void setName(String name) this.name = name; }

RE: How to implements JavaBean in Tomcat 4.1.x in Win 2000 and solaris

2003-04-01 Thread Carlos Alberto Peláez Ayala
Hello friend, thanks for help me. I try with your idea, but appear the same problem. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: martes, 01 de abril de 2003 12:03 Para: [EMAIL PROTECTED] Asunto: RE: How to implements JavaBean in Tomcat 4.1.x in Win 2000