Latest from the blog

Install Svn server on ubuntu and Test it with Tortoise

In this tutorial Ubuntu 14.04 and Apache/2.4.7 are used. The client used is Tortoise for Windows.... Read More

Struts2 Create Custom not found page

To achieve this you must implement an Unknown Handler (they are available from Struts 2.1 on)... Read More

Simple proxy serlvet example for slow requests

In java if you are dealing with slow requests to a server but you need a fast response but you can't modify the code that produces that response, one solution is to create a proxy that will call that final URL for you and tell you when it's finished.... Read More

How to capture HTTP traffic with NGREP in Ubuntu

Ngrep is a tool that allow us to capture HTTP traffic. Root permissions are needed to use it and install it.... Read More

Java Simple Proxy Server with Sockets Examples

In these examples you can find different ways of creating simple proxy socket servers. This can be useful to you for a number of reasons:... Read More

Struts2 with Annotations Json and Datatables Example

This example uses Struts2 with annotations to provide a Datatable with JSON.... Read More

Cron jobs. Move or delete old files in ubuntu every day. Examples

Go to folder cd /etc/cron.d to create cron jobs that will be run every day. Create a file and write the desired cron sentence.... Read More

MySql Query Optimization Tips

Here you can find some tips to optimize slow queries that have been useful to me.... Read More