Categories
Archives
- January 2012
- December 2011
- September 2011
- August 2011
- July 2011
- June 2011
- April 2011
- March 2011
- December 2010
- November 2010
- August 2010
- January 2010
- December 2009
- August 2009
- July 2009
- June 2009
- May 2009
- March 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- July 2008
- April 2008
- March 2008
- February 2008
- December 2007
- November 2007
- October 2007
- September 2007
Author Archives: admin
Javascript: Make independent copy of array using slice() method
Sometime it happens that we need to make copy of an array but in javascript when we assign an array to new it assign it with reference means if you delete anything from new array it will delete it from … Continue reading
Posted in javascript
Leave a comment
HSQLDB : java.sql.SQLException: Access is denied in statement [SELECT * FROM TBALE]
This error appears when you have not specified required privileges to user in SCRIPT file for running the statements. Use the commands as follows just after user creation grant access as DBA like below: CREATE USER SA PASSWORD "" GRANT … Continue reading
Posted in Database, hsqldb, Java, Troubleshoot
Leave a comment
Remove element from Array
What if you want to delete an element from Array ?? Mostly people use delete command but it leaves undefined behind it >>> var list = [1,2,3]; >>> delete list[1]; >>> list [1, undefined, 3] Now try splice instead of … Continue reading
Posted in javascript
Leave a comment
IE – Expected identifier, string or number
If you're getting this error, chances are you have an extra comma after a curly brace: a = { b: function() { }, c: function() { }, } Get rid of the trailing comma and your JS error … Continue reading
Posted in ExtJs, javascript, Troubleshoot
Leave a comment
Client does not support authentication protocol requested by server; consider upgrading MySQL client
I have installed MySql 5.1 version on my lappy and when I try to connect with the DB it was giving me following error: “Client does not support authentication protocol requested by server; consider upgrading MySQL client” MySQL 5.1 uses … Continue reading
Posted in Database, Troubleshoot
Leave a comment
How to change Eclipse SVN Plugin Password
Subclipse does not collect or store username and password credentials when defining a repository. This is because the JavaHL and SVNKit client adapters are intelligent enough to prompt you for this information when they need to — including when your … Continue reading
Posted in Articles, Java
34 Comments
A simple class for converting any Java object to XML string
In need to save XML representation of your Java object Here is a simple 200-line class that will do this using reflection. But don`t worry, there is some very powerful caching going on, so that the performance will be very … Continue reading
Posted in Articles, Java
3 Comments
Java.io.IOException: Invalid header signature; read
Hi, Today I was creating a Java Program to read a Excel files (created by importing text log files) using POI HSSF and faced the following errors: java.io.IOException: Invalid header signature; read 8751655596022002505, expected -2226271756974174256 . After a analysis i … Continue reading
Posted in Java, Troubleshoot
8 Comments
document.forms[0].submit is not a function
Firstly check do you have any fields or buttons etc… on the form that have the name or id "submit". If so these will shadow (hide) the submit function of the form object and thus attempting to call form.submit() will … Continue reading
Posted in Troubleshoot
Leave a comment
com.sun.mail.smtp.SMTPSendFailedException: 530 authentication required (#5.7.1)
Errors: DEBUG SMTP: use8bit false MAIL FROM:<nitingautam@……com> 530 authentication required (#5.7.1) com.sun.mail.smtp.SMTPSendFailedException: 530 authentication required (#5.7.1) at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1333) at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:906) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:535) at javax.mail.Transport.send0(Transport.java:151) at javax.mail.Transport.send(Transport.java:80) at practical.Mailer.main(Mailer.java:37) QUIT com.sun.mail.smtp.SMTPSendFailedException: 530 authentication required (#5.7.1) … Continue reading
Posted in Java, Troubleshoot
22 Comments