Apache Tomcat installation

Apache Tomcat   Tomcat is an open source web server & servlet container implemented by Apache Software Foundation as per the specification of Sun Microsystems.

Tomcat will help you in running jsp pages on your machine. It will create localhost on your machine & then you can run your jsp pages through that localhost server. So you must have to install tomcat if you want to run your jsp pages . Here are several steps to install the tomcat in order

to run your jsp pages.

NOTE:-  You need to have java platform for tomcat .


Step 1:  Download Tomcat . You can download the 7.0 version of tomcat from the link http://tomcat.apache.org/download-70.cgi , or by clicking here . After going to this page , choose 32-bit/64-bit Windows Service Installer from the core versions.

Step 2:  Now simply install with this installer as you have installed other Windows programs. It will show you easy to use interface.

Step 3:  Now go to start menu & go to Apache Tomcat & then select configure tomcat . If you are using windows vista/7 then you will get an error on clicking on configure tomcat. So you need to do is right click on configure tomcat & then select Run As Administrator & then press yes. Now a console will be opened.  Now click on start to start the tomcat service , you can stop the tomcat service whenever you wish by the same console .

Step 4:  Now open your web browser to check that whether your tomcat is working or not. In the address bar type localhost:8080 . If this url shows you a page of tomcat then your tomcat is working otherwise some problem is there.

If you face any problem then you can post your problem to get the answer of the problem. We would like to reply for your query. Or if you have any suggestion for us then your always welcome .

box - shadow

Hello friends, 
      After a time period we are here to describe the box-shadow in css . We will discuss how we can use it and how it will work for different browsers..
   We will teach you how to use it effectively in your file.
1.) First create a block . you can do it as follows

 display:block;

2.) Second, you can use a border so that it seems to be effective in your page.

3.) Third, now you can use box-shadow element of css. It can be used as-

  box-shadow: <attribute list>;

  In attribute list attributes may be in order as horizontal offset, vertical offset, optional blur distance and optional spread distance of the shadow . You can omit any attribute you don't need .So let we take an example-

 example : box-shadow: 10px 10px 5px;

  now you can also set color of the shadow by giving either color name or color value . Let we take an example-

  example : box-shadow 10px 10px 5px #898989;

  You can also set inset keyword if you want inner shadow means shadow going inside  we can do it as follows -
  
  example : box-shadow: inset 10px 10px 5px #898989; 

Now all given example will work well for internet explorer 9 but for Mozilla and chrome  you have to add a prefix as-

/* for mozilla */

  example_for_mozilla :  -moz-box-shadow: 10px 10px 5px #898989;

/* for chrome */

  example_for_chrome:   -webkit-box-shadow: 10px 10px 5px #898989;



Thank you all to visiting us.