Examples on how to download a file from Struts2 with annotations only.... Read More
Juan Carlos Gonzalez Blog
Welcome to my Blog! I have been a analyst/programmer for over ten years, most of my work has been about integrating web an telephony services. In this Blog you can find information and code samples that have been useful to me and I hope they can be useful to you too.
Please, send me your feedback!
Latest from the blog
Maven is one of the best java applications used to build and deploy Java Projects but sometimes we may just need to use it to manage or download dependencies which is probably its best feature. In this example I'm using Linux Ubuntu to download several jars to a folder.... Read More
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
In this tutorial Ubuntu 14.04 and Apache/2.4.7 are used. The client used is Tortoise for Windows.... Read More
To achieve this you must implement an Unknown Handler (they are available from Struts 2.1 on)... Read More
This example shows how to make a simple balancing for multiple instances using Apache balancer. Three tomcats in session configuration will be used. The Apache Balancer will always send all requests to the same server as long as it has the same session cookie. If one of the tomcats is shut down it will redirect to another cluster member server without sending any error messages to the client.... Read More
This example uses the ICEpdf open source library to read a PDF and turn it into TIFF images.... Read More
Ngrep is a tool that allow us to capture HTTP traffic. Root permissions are needed to use it and install it.... Read More