link clicking problem

2001-04-05 Thread Synu Jacob Vengal
Hi, I tried to call a javascript function on clicking a link. The validation is being performed,but the cursor style is always busy, when the validation returns false. Why is it so?? The code fragment is shown below. a href="javascript:gotoAdd();"img src="/images/addmore.gif" alt="Add

arraylist problem

2001-03-15 Thread Synu Jacob Vengal
Hi, I have a problem while retrieving arraylist values from the session.When i access the jsp page i get the values which another person stored to the arraylist through a different browser and he gets the value which i stored to the arraylist. Why does this problem occur? Regards, SJ

database retrieval problem

2000-11-14 Thread Synu Jacob Vengal
Hi, I am using PreparedStatement object to insert and retrieve values from the access database. The values are set with setXX method and retrieved using getXXX method. The problem i face is that i am not able to view a record which was inserted into the database using the Statement

setting null in the database field using prepared statement

2000-11-13 Thread Synu Jacob Vengal
Hi, I need to set an Integer field in the database to NULL using prepared statement. I found the method as follows.But i don't know what is the value of the parameter" sqlType" for integer. setNull(int paramIndex, int sqlType, String typeName). Please explain with an example. Can anyone help

Javascript: How can I enable or disable a field in javascript

2000-11-08 Thread Synu Jacob Vengal
Hi, Try using this. input type="text" name="first" onFocus=3D"this.blur();my_form.next.focus();" where first is the first text field name , next is the second text field name , my_form is the form name Happy coding!!! Bye, SJ

Re: Javascript: How can I enable or disable a field in javascript

2000-11-08 Thread Synu Jacob Vengal
m name Happy coding!!! Bye, SJ - Original Message - From: "Synu Jacob Vengal" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 08, 2000 2:27 PM Subject: Javascript: How can I enable or disable a field in javascript Hi, Try using this. input type=&

Re: prepared statement problem

2000-11-08 Thread Synu Jacob Vengal
?) thanks for any help and suggestions. ced PIYUSH NIGAM wrote: It is essential that your database allows nulls for values not being updated.Also your insert statement must include the field names in which you are inserting values: inser into test(name,score) values(?,?) Piyush Nigam

prepared statement problem

2000-11-07 Thread Synu Jacob Vengal
Hi, I am using a prepared statement to insert values into the database fields. Is it always necessary that we should insert data in all the fields or else null values?? for eg. i gave the sql as sql ="INSERT INTO test VALUES(?,?)"; when the actual table contained 3 fields. When i

insert time using prepared statement object

2000-11-07 Thread Synu Jacob Vengal
Hi, How to insert time into database using prepared statement object?? Thanks, SJ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: