Life of a java disciple




J2EE Blogs:

J2ME Blogs:

.NET Blogs:

Important Links:

International Users:


















This page is powered by Blogger. Isn't yours?
Tuesday, September 28, 2004
 

Java Quiz - Win a GMail Invitation


Why does the following program compile:


public class Kumar {

public static void main(String args[]) {

// Hoping this code will not compile ?#$%&**\u000d{
for (int i=0; i<10; i++) {
System.out.println("Hello");
}
} //Additional close braces
}
}


The first one to answer gets a free GMail invitation. Answer to be posted tomorrow if no one get posts the correct answer.

(5) comments
Wednesday, September 15, 2004
 

Preventing Google from caching your site


When your site goes down or someone want to refer a old version of web pages google cache comes to rescue. But at times you don't want some pages to be cached by google. You can inform google not to cache a web page by adding a metatag as follows

<meta name=”googlebot” content=”noarchive”>

(0) comments