Categories

 

April 2008
M T W T F S S
« Oct   Jun »
 123456
78910111213
14151617181920
21222324252627
282930  

What I'm Doing...

PlaytimePriya and KunalIMG00015.jpgIMG00017.jpgFallColors.jpgSpring

A Comparison of Oracle's DATE and TIMESTAMP Datatypes

Nice article on oracle DATE and TIMESTAMP’s. Good place to go for quick reference. Just go either here or here to read in detail.

Share

Eclipse and ANT build problem with jdk1.3

You can’t do an ANT build inside eclipse if your chosen jdk is 1.3. Here is a the error message you get…

BUILD FAILEDjava.lang.NoClassDefFoundError: org/xml/sax/SAXExceptionat org.apache.tools.ant.ProjectHelper.getProjectHelper(ProjectHelper.java:228)at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.parseBuildFile(InternalAntRunner.java:189)at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:400)at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

nice little trick to fix that…Inside Eclipse Go to Window->Preferences…->Ant->Runtime

In the classpath tab, add a new entry to the Ant Home Entries to the xerces jar file [...]

Share

How to use Read more!

Write your header message…

<span class=”fullpost”>Keep other stuff within your span tags</span>

I did this from here!

Only thing left to do is to enable or disable the “Read more!” which shows up at the bottom of each post!

Share

Replace ROOT context in tomcat without deleting or replacing the ROOT directory

This is a neat trick. At least it works in tomcat-4.1.24.

The first part to this trick is to know you can deploy a war file to the webapps in tomcat without adding the context in the server.xml of your tomcat installation. Suppose the name of your war file is HelloWorld.war, create an xml file called [...]

Share

Redirect stdout and stderr to same file

I keep forgetting the correct syntax….

% script 2>& logfile

Share