Author Archive

Unix Command Line Productivity Tips

Unix Command Line Productivity Tips View more presentations from Keith Bennett.


java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String

It happened with me while i was trying to extract a HTTPRequest parameter from an ActionInvocation object. I was writing an interceptor in Struts2 and was trying to check a request parameter. This is how you do it when you are in an interceptor: public String intercept(ActionInvocation invocation) throws Exception { Map<String,Object> params = invocation.getInvocationContext().getParameters(); [...]


Working with Maven Project in Eclipse

Maven helps the software project life cycle in many ways. One of the many attributes if it is that it integrates well with IDEs such as eclipse, Net beans and IntelliJ. I am trying to list certain things here which you can do while working with Maven managed project in Eclipse. 1. You definitely need [...]


Maven 2 – An overview

Maven 2 features View more presentations from Angel Ruiz. Maven 2 in the real world View more presentations from carlo.bonamico.


Adding values to Apache Logging – httpd

Apache HTTP server logs are source of very valuable information. Many trends, usage analysis can be extracted from these logs. Some times you may not get the information you require in the logs as it is not logged by the server like time taken by the request or port of the server serving the request. [...]