Categories

 

July 2010
M T W T F S S
« Jun    
 1234
567891011
12131415161718
19202122232425
262728293031  

What I'm Doing...

IMG00015.jpgIMG00017.jpgFallColors.jpgSpringFirst snow of the seasonTail Wind

Problems with StrutsLoginDemo in myeclipse

Its been a while since I had done a struts project, so I thought I would re-acclimate myself by doing the myeclipse StrutsLoginDemo. I needed to do this with Struts 1.1 so I used the quick tutorial available here. The tutorial is a good one and finished it quickly.. the problem came when I tried deploying it [...]

  • Share/Bookmark

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/Bookmark

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/Bookmark