In most of the application it is required to convert the number or amount in words. Following code will help you to convert a given number into words. For example, if “1234″ is given as input, output would be “One Thousand Two Hundred Thirty Four”. This code will be convert any number between 1...
C#.Net provides DateTime structure that offers many useful methods and properties for date and time calculations. The range of DateTime is between 01/01/0001 12:00:00 AM to 31/12/9999 11:59:59 PM. DateTime return various date/time elements: DateTime d1 = DateTime.Now; listBox1.Items.Add("Year\t\t: " + d1.Year); listBox1.Items.Add("Month\t\t: " + d1.Month); listBox1.Items.Add("Day\t\t: " + d1.Day); listBox1.Items.Add("DayOfWeek\t: " +...
Vehicle Management System is developed and customized for commercial fleet owners and organizations. Its modules support most type of vehicles (passenger, Truck, construction and other commercial vehicles). It really reduces your vehicles cost while increasing performance and dependability. Track your tax-deductible business miles and travel expenses Eliminate costly unscheduled maintenance. Increase the resale value...
In many java based web based applications developer need to implements file upload. Before Servlet 3.0 specification, servlet doesn’t support file upload and developer need to use third party library like apache common’s file upload. To know more about how to use servlet 3 for file upload, please visit my servlet 3 file upload...
Servlet initialization parameters are used to process the data when servlet initializing. Before servlet 3, this data need to put on deployment descriptor and servlet will read the data in init() method using ServletConfig Object. For every servlet, the data is unique and not been shared in between of two servlets. Before Servlet 3...
Many java web developer aware that for uploading files on server there was no api support in servlet specifications. We have to depend on third party library to upload files. Apache common’s file upload library is very popular for this task. Servlet 3 comes with default support of file upload. To make your servlet...
Stateless session beans are stateless in nature, in other words it does not remember its previous invocations. A user will call the bean and the bean will return a result. A stateless bean is not good for maintaining the state of an interactive session such as required to maintain a list of purchases. However,...
From the beginning of java learning we have been taught about the scope of private fields/methods in java but despite the fact about private fields/methods accessibility outside the class, its achievable using java’s reflection library. So let’s today discuss how we can achieve this using reflection. Let’s consisted following class contain one private field...
Let’s discuss today how we can reverse an Order/Unordered List in html using jquery. We have many ways to reverse the element of any ordered/unordered list (ol or ul Tags) using jquery. Let’s use reverse() function available in jquery library. Let’s consider we have a list of some ordered elements, say a list of...
Online Bank Management System is very simple and entry level project developed in java/jsp using jdbc. I have used Microsoft access as a database to store all the details of customer account in a table. This project is a simple project and useful for those who want to learn jsp/servlet with jdbc. I have...