Configure SSL/HTTPS support on Apache Tomcat 7

By Abhijit Ghosh on Nov 27, 2013 2:08:21 PM

By default, HTTPS / SSL is not configured and enabled in Tomcat Web server. SSL setup is required to make your web application accessible over HTTPS protocol. This post will guide you to configure SSL in Tomcat 7 Web server.


Get Redirections of a URL using Apache HttpComponents HttpClient

By Abhijit Ghosh on Nov 25, 2013 2:08:10 PM

Many websites use URL redirection technique to forward the original request from one location to another several times for different reasons (Domain forwarding, URL shortening, Privacy protection, Maintaining similar domain names referring single website, etc.). In this post, I'll try to demonstrate how to get all the redirections of a URL using Apache HttpComponents HttpClient. A live demo will be a bonus here.


Determine Click Position (Row and Column Number) on click of a table cell

By Pavan Deshpande on Nov 24, 2013 9:16:28 AM

This example shows how to determine click position (row and column number) on click of a table cell using jQuery.


Make HTML table sortable using jQuery Tablesorter plugin

By Abhijit Ghosh on Apr 30, 2013 9:42:32 AM

This post describes how to make an HTML table (having THEAD and TBODY) sortable in few minutes using tablesorter jQuery plugin. This plugin can parse and sort many types of data like number, text, currency, URI, IP address, date, time including linked data in a table cell.


Dynamically create image from text using Java Servlet

By Abhijit Ghosh on Sep 15, 2012 8:50:12 AM

This example shows how we can dynamically create an image from a text ('Hello World!') by writing a simple Java Servlet. In the next post, we'll see how this dynamic creation of image can be used to implement custom CAPTCHA validation.


Configure GZIP Filter on Jetty 8 for dynamic compression of contents

By Abhijit Ghosh on Sep 10, 2012 2:16:51 AM

Jetty provides Gzip Filter to enable dynamic compression of contents like html, javascript, css etc. Just a servlet filter 'org.eclipse.jetty.servlets.GzipFilter' needs to be configured in web.xml to save bandwidth and speed up your website.


Tomcat Hello World Servlet using Eclipse IDE

By Abhijit Ghosh on Jul 14, 2012 10:50:17 PM

This simple tutorial explains you, how you can run your first Servlet class that will print "Hello World!" string in the browser. We will use Eclipse IDE to develop the code and Tomcat webserver to run the servlet code.


JSP Hello World Example using Eclipse IDE and Tomcat web server

By Abhijit Ghosh on Jul 10, 2012 9:40:13 AM

This simple tutorial describes how you can print "Hello World!" string in your browser by writing a simple JSP (Java server pages) program developed using eclipse IDE.


About this 'Hello World' site

This site is mainly developed to share coding and technology learning experiences on java / j2ee based technologies.

Simple tutorials / codes have been shared to learn a new technology. Full source code is also available for download.