In this example the following features are covered.... 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
Sometimes we may need to use a servlet to download mp3 files or other files not to play them or reproduce them. Most browsers understand the application/force-download content type header which does the trick.... Read More
This example shows how to download a file using Delphi or Lazarus, the following features are covered.... Read More
This example shows how to connect to an URL using just java sockets. You may want this for a number of reasons.... Read More
There are many ways of getting the linux distribution in Java. Here you can find some examples that may suit your needs.... Read More
In java the three main Streams stdin (standard input) , stdout (standard output) and stderr (standard output error) are handled by default by System.in, Sytem.out and System.err respectively. Sometimes we may need to change the output according to our needs, this can be done in many ways such us using the OS to tell what stream we need to use or using java to set what streams we want to be used.... Read More
If you use java.net.URL to load url and in some cases you want to add a new protocol or if you want to use another API to handle certain protocols it is possible to do it. In this example I'm overriding the FTP protocol so that it is handled by the org.apache.commons.net.ftp.FTPClient API... Read More
With this code snippet you can create an autocomplete Jquery box that highlights the code when there is at least a match among your entries.... Read More