I was trying to see what version of java shipped with mountain lion. So I opened a terminal session and typed ‘java -version’. I was shocked to see that there was no java. Instead I was greeted with a popup windows with an option to install the 1.6 Java …
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 …
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 FAILED
java.lang.NoClassDefFoundError: org/xml/sax/SAXException
at org.apache.tools.ant.ProjectHelper.getProjectHelper(ProjectHelper.java:228)
at org.eclipse.ant.internal.ui.antsupport …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 …