Posts Under 'Tutorials'

How to Increase Heap Size for Tomcat + Windows

Tomcat can be installed in two different ways and below is the information about how to increase or set the heap size for tomcat server in both scenarios – 1. Folder installation – Create one new environment variable JAVA_OPTS – Set following value -Xms256m -Xmx512m – instead of 256m and 512m , you can enter […]

Read more »


Setting Tomcat Environment Variables on Windows+Unix

This section provides informaton about how to setup different environment variables for tomcat * In a shell or DOS window, change to the "jakarta-tomcat-" directory. * Set the environment variable JAVA_HOME to point to the root directory of your JDK hierarchy. You may optionally add the Java interpreter to your PATH environment variable. The exact […]

Read more »


Character Conversions from Browser to Database in JAVA

Character Conversions from Browser to Database in JAVA Characters in route to their final storage destination on the World Wide Web, move through various layers of programming interfaces and can cross software and hardware boundaries. This article provides helpful hints and best practices for accurately transporting character data from browser to database and back again. […]

Read more »


A simple newsletter sign-up form using PHP, Ajax and the Prototype JavaScript framework

A simple newsletter sign-up form using PHP, Ajax and the Prototype JavaScript framework. When visitor enters his name and email and clicks on “Sign up” a check is being done if the email exists already and if not it is added. This is happening without refreshing the current page (Ajax). All code is well commented, […]

Read more »


Generate PDF files in Java on the fly

iText is an ideal library for developers looking to enhance web- and other applications with dynamic PDF document generation and/or manipulation. iText is not an end-user tool. Typically you won’t use it on your Desktop as you would use Acrobat or any other PDF application. Rather, you’ll build iText into your own applications so that […]

Read more »