Archive for the ‘Windows’ Category

Here i gonna explain about the steps through which tomcat server is configured in eclipse. I assume that you have downloaded Tomcat and eclipse in your system. If not, please visit the below link and get it. One good thing about Eclipse and tomcat is that there are no such installation procedures. Just download the files, extract and put it in a folder (say java).

Eclipse – Click Here

Tomcat – Click Here

Now follow the installation steps:

1. Lets open eclipse IDE. It will look like this.
Eclipse IDE

2. People who were not having server tab by default , follow step 2 and step 3 . If by default, Servers tab is not there, we need to pull it from windows->Show View->other

Add Server Tab

3. Type “Servers” . you will get servers menu and click okay.

Add Server Tab

4. Once you click okay, Servers tab will get added at the bottom

Add Server Tab

5. Now, we need to add a tomcat server. For that , right click on the server menu and select New -> Server.

Adding new Server

6. By clicking on new servers you will get list of servers as shown below

Adding new Server

7. Based on your tomcat version download , select your version. i have tomcat 6.0.32 and hence i am choosing Tomcat 6.0.

Adding new Server

8. Once you click next you will get a screen where in you need enter the location of tomcat

Adding new Server

9. Here we are locating the path

Adding new Server

10. The next thing that we need to change is JRE. By default its workbench JRE. if you have installed any JRE you can choose that from drop down

Adding new Server

11. Thats it click finish and you can see an entry in package explorer and Servers tab

Adding new Server

12. Config is done. Lets start the server. For that we need to right click on the tomcat server in servers tab and select start

Adding new Server

13. Once the tomcat server starts we will get a message like this

Adding new Server

14. Thats it .. We are done.. just check it through web by giving the url localhost:8080. you need to get this page

Adding new Server

But sometimes, we wont be getting the tomcat up and running. People who face this issue continue with the follow steps. You may get like

Adding new Server

15. Right click on the tomcat server in server menu and click properties

Adding new Server

16. By default workspace location will be “Workspace Metadata”.

Adding new Server

17. We need to change that by clicking on switch location

Adding new Server

18. Now , we have go a new entry in package explorer column

Adding new Server

19. Double click on the Tomcat Server to load its configs

Adding new Server

20. Change the Radio button from “Use Workspace metadata” to “use tomcat installation”.

Adding new Server

21 . Dont forget to restart the server. you can right click on servers and go to properties -> restart

Adding new Server

22. Now, check with url http://localhost:8080. you will get this page. Its done

Adding new Server

Status bar option in notepad will be disabled when you have selected wordwrap option. That too when we are using notepad as a programming language editor status bar plays a big role to find out the error by corresponding line number.. In this case follow these steps

Step 1 : Status bar is disabled as shown in the figure


Step 2 : Open windows->run and type regedit




Step 4 : Select Software


Step 5 : Select Microsoft


Step 6 : Select Notepad


Step 7 : Select StatusBar


Step 8 : The value data is 0 now


Step 9 : Change it to 1 and click ok


Step 10 : Open notepad. Now we can see the status bar in bottom of the screen


How to access folder from Taskbar

Posted: November 4, 2011 in Windows
Tags: , , , , , ,

If you open up a folder frequently, you can add up the folder in taskbar.. It works in Windows XP is the procedure..

1. Right Click on the empty spot between start up icon and Taskbar

2. Click Toolbars

3. Click New Toolbar

4. Locate your folder and Click ok (if u want to minimise all your windows then select location as desktop).

If you want to remove the icon, right click on the space , go to toolbar and uncheck the corresponding folder..

Converting to NTFS

Posted: August 7, 2011 in Uncategorized, Windows
Tags: , , , , ,

Your hard drive must be formatted with the file system such as FAT, FAT 32, NTFS so that windows can be installed on it. NTFS is recommended for windows XP because of its functionality. If you have upgraded from Windows 98 or Windows ME you will not be using NTFS. Here is the way to convert your file system to NTFS.

Note: Windows xp has its own convert tool and hence there is no need of any other software. There is no possibility of losing your data .

How to convert:

1. Hit Start Click Run
2. type commmand
3. At the command propt type the following: convert c:/fs:ntfs and press enter
4. here c is the drive which you want to convert as NTFS
5. After some time you will get a message that your conversion will take place once the system gets restarted.
6. Having restarted, the Check Disk Utility will run, conversion will be done automatically and your system will be restarted twice more

Benifits of NTFS

In the NTFS system you can take an advantage of new options such as maintaining the level of access for user accounts. For example there are certain files and folders that you want some users to access but not others. You can perform by following steps.

1. Right Click on the file or folder
2. Choose properties
3. Select Security Tab
4. There will be two columns with user names and read, write, modify, Full control options. Select the check box appropriately.

Another feature is NTFS compression. It’s quick and seamless as your file or folder is decompressed automatically when you access it.

If you have any idea of changing registry items be on safer side. Just take a backup before you doing changes to it. Here is the steps how to take backup for registry and how to restore registry items.

How to back up registry keys

1. Click on start and Click Run

2. Type regedit and click ok

3. On the File menu click Export

4. In the save in box, select the box at bottom according to weather you want to export all or only selected items from it.

5. Select the location where you want to select .reg backup file.

6. Click save

How to restore registry keys

Just move to the location where you saved your .reg file. Double click on the file and click ok to restore.

Whenever the system crashes, windows shows an error whether to send an error report to microsoft. We will click on don’t send option everytime.But we can disable the “Send error report to Microsoft” option. here is the steps.

1. Open control Panel
2. Click on Performance And Maintenance
3. Click on System
4. Then click on Advanced tab
5. Click on the error reporting button on the bottom of the windows.
6. Select Disable error reporting
7. Click ok
8. Click ok

You won’t get the error message again!

To view linux files through windows

Posted: November 1, 2010 in Linux, Windows

you will be having dual boot a windows and a linux… automatically you can view the files in windows by going into linux but not vice versa.

For viewing the linux files in windows you have to install a software called Samba. then give access to the users and share the files

in windows goto networks and see the linux server and share the files..