RE: inserting data (A weird problem)

2005-12-14 Thread Richard Mixon
ur description of what is happening might make a bit more sense to some of us and you might get a better answer. Hope this helps - Richard -Original Message- From: Claudio Martn Veas [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 5:50 AM To: Tomcat Users List Subject:

Re: inserting data (A weird problem)

2005-12-14 Thread Claudio Martn Veas
Hello all, and thanks for writing about my problem, I found the solution but Im note very confortable because I dont understand the reason why it fails. When this error started to show several times even if I tried the same thing a lot of times I started to think about the reason of all this err

Re: inserting data (A weird problem)

2005-12-14 Thread Jon Wingfield
Looking at the attached jsp I can see it does cto.setapellido(request.getParameter("apellido")); which is correct for the supplied bean code. As the NoSuchMethodError is occuring at runtime rather than at jsp compile time I would say you have probably changed the bean code since the jsp was las

RE: inserting data (A weird problem)

2005-12-14 Thread Richard Mixon
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: ins

Re: inserting data (A weird problem)

2005-12-14 Thread Jon Wingfield
This is how I read the error: There is no method with the signature void setapellido(String[] values) which (given your code sample) there isn't. Is the insertar.jsp doing something like contacto.setapellido(request.getParameterValues("name")); instead of contacto.setapellido(request.getParam

inserting data (A weird problem)

2005-12-13 Thread Claudio Veas
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,