Author: Webner
Tomcat – java.lang.Unsupported Class Version Error: Bad version number in .class file
This is because your class files were compiled with a Java compiler not compatible with JVM in use within tomcat. If you compiled on the same machine on which you have tomcat running, you must be having 2 JDKs (or
Javascript – extract Year from Date
If you want to extract the year from Date in Javascript, try getFullYear() method instead of getYear(), see the output below on Firefox and Chrome: Here’s the code: <html> <head> <script langauge=”javascript”> var date1 = new Date(); var browser =
MuleStudio – No option to Create New Mule Project
installed MuleStudio community edition on Ubuntu 11.04. MuleStudio was starting but showed no option to create new Mule Project. Since I have multiple versions of JDK installed, so before starting mule studio I was explicitly exporting JAVA_HOME to point to
Online Certifications
StudySection.com is the only site which gives you a chance to get certified online in just 30 minutes. Tests on all subjects are absolutely free with unlimited re-attempts. THE CERTIFICATION CENTER for online certifications. Get certified today! http://www.studysection.com
Tomcat – java.lang.UnsupportedClassVersionError: Bad version number in .class file
This is because your class files were compiled with a Java compiler not compatible with JVM in use within tomcat. If you compiled on same machine on which you have tomcat running, you must be having 2 JDKs (or a
Fatal error: Allowed memory size of 16777216 bytes exhausted
You need to change the maximum memory allowed to a php script to run. For this you need to open your php.ini (location of this file will depend on where php is installed on your machine). In my case php.ini
Proxy Pattern and Dynamic Proxies
Proxy pattern is about using proxy in front of another entity. It is a structural pattern, which means, it is implemented by changing/extending the structure of code. One example of proxy classes is remote communication. In case of remote communication,