Home | Eclipse | Java | Linux | SEO | Photos | Videos | Blog | Recipes | Links | My Profile

The JAVA Programming Language

Saying that Java is nice because it works on all OSes is like saying that anal sex is nice because it works on all genders. -Alanna


Title and summary Date/time
1
How to solve could not instantiate driver for classname oracle.jdbc.driver.OracleDriver
Sometimes, on some environments - in Eclipse in this case, launching the web application stops complaining that the driver class cannot be found. The driver is in the library folder but for some reason ignored.
Mar 10, 2010
11:36:48 AM
2
Maven provided scope libraries not excluded during application publication
Resolving Maven integration with WTP Plugin in Eclipse when exceptions and errors are thrown when launching a J2EE application. This howto is especially useful for errors conflicting with servlet.jar and jsp.jar when pom.xml declares these libraries as ...
Mar 9, 2010
6:32:17 PM
3
Referer Header Field Definition
  • The Referer request-header field allows the client to specify, for the server's benefit, the address (URI) of the resource from which the Request-URI was obtained (the "referrer", although the header field is misspelled.) The Referer ...
Dec 15, 2009
2:19:00 PM
4
Struts 2 OGNL Syntax for Collections
This article describes how Lists and Maps are translated from Java to OGNL in JSP Pages.
Dec 14, 2009
6:58:00 PM
5
HTTP Temporary redirect and Permantent redirect
    Permanent Redirect - HTTP Status Code 301
  • Here is the snippet: final HttpServletResponse response; response.setStatus(H...
Dec 14, 2009
2:42:00 PM
6
Convert an eclipse project into a dynamic web project
Add this line to the eclipse .project to enable facets in the project properties. org.eclipse.wst.comm...
Dec 9, 2009
6:47:00 PM
7
Enabling SSL on Tomcat
  • Import or create a certificate via
    keytool -genkey -alias tomcat -keyalg RSA
    The .keystore will automatically generated in the user's home directory
  • Enable the SSL connector configuration in server.xml
  • If Tomcat is started from ...
Dec 2, 2009
9:59:00 AM