What is lifecycle of JSP?
Life cycle of JSP :
* JSP page translation,
* JSP page compilation,
* load class,
* create instance,
* call the jspInit() method,
* call the _jspService() method, and
* call the jspDestroy() method. Reply
What is JSP?
JSP is a Java technology provides support to generate dynamic page using HTML, XML tag and scriptlets written in the Java programming language. JSP provides us a way to write Java code embedded into the HTML. JSP pages separate the page logic from its design and display.
JSP pages are compiled into servlets and may call JavaBeans components or Enterprise JavaBeans components to perform processing on the server.
JavaServer Pages has two subcategories :
* Tag Libraries
* JavaServer Pages Standard Tag Library(JSTL).
what are cookies?
A Cookie is a small piece of information or messages used to communicate between the web server and the web browser. Your browser stores each message in a small file, called cookie.txt. This information is exchanged between the browser and the server to remember some specific information.
Examples of cookies :
* Cookies are used to track web site activity.
* Cookies are also used for online shopping.
Cookie Security : The easiest way to secure yourself against the supposed dangers of cookies is to get one of the latest browser versions and turn cookies off.Reply