Another way of controlling the flow of your program is with switch statement. Switch gives you an option to test the range of your value and depending on the value you can execute a particular case. F...
As we have now learnt about variables, operators and expression. Now we can dig into the first control statements for Java. Control Statements defines the control of your program and gives you the abi...
Following are the steps to create a new EC2 Instance which has the Apache Solr Stack provided by Bitnami.
Login to your AWS console, and go to EC2 Management Console.
Click on the Button "Laun...
There are various operators defined in Java language to carry out different operations with the Variables in Java. If you know any of the programming language, most of the operators in Java are self e...
All modern programming languages needs to have concept of variables. Variables are there in a programming language to store data into. There are 8 data type defined in Java which are inbuilt in java c...
If you are looking to forward non-www pages on your domain to www. Here is what you need to do.
Login to CloudFlare and go to 'Page Rules' section of your domain.
If the URL matches , in t...
While automating a form selection with Selenium and Java, It's a good practice to randomize your form values. Here is how you can select random values on radio buttons. Lets suppose you have a radio b...
Step 1 : Get the Foreign Key Name.
SHOW CREATE TABLE tableName;
Note the name of Foreign key (which is mostly auto generated) output will look something like
CONSTRAINT `FK4C5B93445F11A0B7` F...
Once you have installed XAMPP, You have your system ready necessary development programs like PHP, MySQL etc. But you cannot yet run those commands from you command line, Because your terminal does no...
Apache Tomcat is used to deploy your Java Servlets and JSPs. So in your Java project you can build your WAR (short for Web ARchive) file, and just drop it in the deploy directory in Tomcat.
So basi...