This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
responseString=new String("welcome to our site,"+"we have created session for you");
responseString=new String ("hello"+user);
public String getServletInfo()
return "CookieServlet information";
i wanted to run this file in IDE netBeans.i know how to run html file which will show the output in browser immediately after running.but this is .java file which i am unable to see in browser.soon after i run this file my browser download this file and ask me to select the program to open the file.