How to find multiple occurance of a string in a target text
JSF 2.0 and JBoss 4.2.0 Configuration Common Problems and Solutions for Begginers
I almost spent 3 days in creating a new project in Java Server Faces (JFS 2.0 ) in the JBoss AS 4.2.0 .I made some very small mistakes but atlast after 3 days of hard work i understood the problems and now able to succesfully run a JSF 2.0 project in JBoss AS 4.2 .
Problem 1
ERROR [[/MyFirstJSF]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.ClassCastException: com.sun.faces.config.WebConfiguration...
How to configure your grub after making a partition in your PC
Sometimes you can not boot in your PC after making a partiton . And you get stuck in a black window at the boot time .This happens because after making the partition in your Hard disk the location of grub from which the OS loads may change .
To solve this problem and to boot into your OS follow the next steps :
Step 1 . Press “e” (edit) at the start up screen when OS loads .
Step 2. In the edit window watch the grub . Let , the grub says : root(hd0,9)
Edit...
How to make Windows your default boot-able OS when dual booting
After installing Ubuntu along with Windows Ubuntu becomes the default boot-able Operating System. However You can make Windows the default boot-able OS .
To do this you have to follow the following Commands :
Step 1 .Boot with your Ubuntu OS
Step 2. Open up a terminal and write : $ cd /boot/grub
Step 3. You have to edit the grub.cfg File of this folder.So, give the grub.cfg File write permission by : $ sudo chmod 777 grub.cfg
It will ask for your password . Give the...