Latest News

Thursday, June 17, 2021

June 17, 2021

Grab Free Udemy courses before coupon expires....

 UDEMY FREE COURSES WITH CERTIFICATION FOR A LIMITED TIME.


1.Social media marketing strategy 2021. Launch your SMM!

LINK

2.Create a Members Only Blog using PHP, MySQL, & AJAX

LINK

3.JavaScript & jQuery - Certification Course for Beginners

LINK

4.PHP for Beginners 2021: The Complete PHP MySQL PDO Course

LINK

5.HTML, JavaScript, & Bootstrap - Certification Course

LINK

6.Bootstrap & jQuery - Certification Course for Beginners

LINK

7.JavaScript, Bootstrap, & PHP - Certification for Beginners

LINK

8.Mastering Python, Data Handling, Analysis and Visualization

LINK

9.Python Complete Course For Beginners

LINK


Friday, September 1, 2017

September 01, 2017

How to speed up booting process and improve performance of windows 10?

SO windows 10 taking too much time to boot?Don't worry follow some tips to speed up booting time.


1. Press window key + R (run) and type temp and hit enter.



One folder will be appear . Just select all and delete it.

NOTE : Those are just temporary files it won't affect any process so just remove it.


2. Press window key + R (run) and type %temp% and hit enter.
Follow the same process which you have done earlier with temp folder.

3. Press window key + R (run) and type prefetch and hit enter.
Follow the same process which you have done earlier with temp folder.

4. Open system property. Then select change setting.


Click on settings....




Select Adjust for best performance....


Click ok to all the setting and you are done here...
Try and comment if it works... :-) :-)


Tuesday, August 29, 2017

August 29, 2017

How to run java program from command prompt ?


1. Write the following code into NOTEPAD.

public class HelloWorld {

    public static void main(String[] args) {
                System.out.println("Hello, World");
    }
}

2. Now save this file as Hello.java.
3. Open command prompt as an admin and locate directory wherever you save this file.
4. First thing you need to compile java  class to write javac hello.
5. Then after if no error appears then write java hello , output will print.

if you haven,t installed java yet then follow this.
August 29, 2017

How to set up java in windows 10 ?

So first thing you need to perform is install jdk from here

1. Choose jdk as per your system if your system has 32 bit then download 32 bit else download 64 bit.

JDK 86(32-bit)
2. Open system propeties by pressing window key + pause(break) or by following.
System property
3. Now go to the advanced system setting on the letf panel.

4. Now select environment varibales.



5. Go to the system variable and create new and follow below details.


NOTE: Choose whatever path of jdk as in your system. Create same variable in User variable also.

Type java in cmd and if you get output like this than you have successfully set up java in your machine.

🍵🍵🍵🍵🍵🍵🍵🍵🍵🍵🍵🍵🍵🍵🍵🍵🍵




















Thursday, March 30, 2017

March 30, 2017

How to make money using android app?????

So you have ...

  1. Smartphone
  2. Internet connection
  3. 30 min to 1 hour of day
  4. Have a friends with this three sources..
then you can earn some money easily just by following these steps....

  1. Go to play store and install Cashpirate.
  2. After installing app you will see this screen..
  3. now type your email id and password and click on Sign in or register.
  4. in next screen you will have option to enter referral code.Now in that option just type UJXVHA i ll explain it the benifits of this referral in next step.
  5. So if you use this referral code you will have 500 bonus coins.
  6. you can earn $1 for 1000 points. So to increase the points you need to install some apps which is given by the cash pirates.look one example below..
  7. now in this you can see there is 35 + 17 coins, here 17 is a bonus coins which you will only get if you have bonus coins . So to get bonus coins you need to use the above referral code UJXVHA. 
  8. So get your own referrall code and tell your friends to use your code and by that you will have 10% of coins they are earning and 5% of their referrals too...
  9. Here you need to set goal, see the below image

So that is it and genuinely you are going to earn this..

Tuesday, March 28, 2017

March 28, 2017

Servlet Example using apache server

1.Create new web project in netbeans.



2. Here if you don't get Java Web option on left than follow below steps:




3.In plugins windows search Java Web and EE..





4. After creating Web Project you will have this type of Folder structure...


5. In index.jsp page we will make one simple form to take radius from user...



 


6. Now in jsp file have a look at the
   this means we are linking this form with Area class which we are going to create . Actually this Area is a servlet.


In folder structure right click on package and select servlet.
Note: Servlet name and name in form action tag should be exactly same.

7.In servlet write below code.





import java.io.IOException;

import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**

 *
 * @author Batman
 */
public class Area extends HttpServlet {

    /**

     * Processes requests for both HTTP GET and POST
     * methods.
     *
     * @param request servlet request
     * @param response servlet response
     * @throws ServletException if a servlet-specific error occurs
     * @throws IOException if an I/O error occurs
     */
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        response.setContentType("text/html;charset=UTF-8");
        PrintWriter out = response.getWriter();
        try {
            
            double r=Double.parseDouble(request.getParameter("txtrdus"));
            double area=(double)(2*Math.PI*r);
            out.println("Area of CIrcle is: "+area);
        } finally {
            out.close();
        }
    }

    //

    /**
     * Handles the HTTP GET method.
     *
     * @param request servlet request
     * @param response servlet response
     * @throws ServletException if a servlet-specific error occurs
     * @throws IOException if an I/O error occurs
     */
    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        processRequest(request, response);
    }

    /**

     * Handles the HTTP POST method.
     *
     * @param request servlet request
     * @param response servlet response
     * @throws ServletException if a servlet-specific error occurs
     * @throws IOException if an I/O error occurs
     */
    @Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        processRequest(request, response);
    }

    /**

     * Returns a short description of the servlet.
     *
     * @return a String containing servlet description
     */
    @Override
    public String getServletInfo() {
        return "Short description";
    }//


}

Output:



Download full example here..