If DB.contacto is a regular JavaBean, then maybe the method call should be "setApellido(...)", instead of "setapellido(...)"? HTH - Richard
_____ From: Claudio Veas [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 9:24 PM To: Tomcat Users List Subject: inserting data (A weird problem) Hello, Im trying to insert data in my mysql server with a JSP and a Bean with an example I found in the internet, Im very new to all this but this error I get its really strange. I created a table contacto (contact) in the mysql server, create table contacto (numero int, nombre varchar (20), apellido varchar(20), Telefono int, Email varchar(50) ) I made the bean acording to the example and I made a form so I can Input the data and the job of the bean would be to save this info in the database. But the problem is that I got an Error javax.servlet.ServletException: DB.contacto.setapellido(Ljava/lang/String;)V org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI mpl.java:848) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:781) org.apache.jsp.colors.insertar_jsp._jspService(org.apache.jsp.colors.inserta r_jsp:85) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3 22) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) causa raĆz java.lang.NoSuchMethodError: DB.contacto.setapellido(Ljava/lang/String;)V org.apache.jsp.colors.insertar_jsp._jspService(org.apache.jsp.colors.inserta r_jsp:59) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3 22) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) so I decided to take out all the logic of the "apellido" field in the database and I took it out of the form and from the JSP file and guess what it Worked so I put all the "apellido" stuffs back with extra care of no making any mistakes this time, Idouble checked it with the other fields because hey they work but guess what the error showed up again and I dont really know what the problem is, all I know its something related to the get statement. Hope You can Help me Thanks on Advance Claudio Veas Please Excuse my english <http://www.incredimail.com/index.asp?id=96769> Add FUN to your email - CLICK HERE!