MySQL Change root Password

Setting up mysql password is one of the essential tasks. root user is MySQL admin account. Please note that Linux / UNIX login root account for your operating system and MySQL root are different....

Files-Directory listing in Java

This example lists the files and subdirectories in a directory. File dir = new File(“directoryName”); String[] children = dir.list(); if (children == null) { // Either dir does not exist or is not a...

Struts Internationalization (I18N)

Problem Statement: We require to achieve internationalization using Struts 1.x We have a layout setup for our application as header footer and content and few other tiles.. There is a select box in the...

Conversion of text file in PDF and vice versa in UNIX

Yes, this is also a good solution. All you need is to add: \documentclass[a4paper]{article} \begin{document} …. your original text goes here … \end{document} after that call pdflatex youFIle.tex in your shell script.

Installing Windows XP with Vista

I assume Vista is preinstalled. And you want to install XP along with Vista. Now as Vista is preinstalled most probably there is only one partition. So you need to create a new partition...