22
[email protected] Q 1> what is the difference betn GET and POST method? Ans: Get request cannot send large amounts of information, some servers limit the length of URL and query strings to about 240 characters. In the other hand post method can send megabyte of information. The  post request passes all its data of unlimited length, directly over the socket connection as part of its HTTP request body. In the other hand get method uses URL string to send information, that’s why it is not secure. JSP ------- JavaServerPages, also known as JSPs, are a simple but  powerful technology used to generate dynamic HTML on t he server side. They are a direct extension of Java Servlet and  provide a way to separate content generation from content  presentation. The steps of a JSP request:- --------------------------------- 1>Client Requests a JSP Page 2>The JSP Engine compiles the JSP into a Servlet. 3>the generated Servlet is compiled. 4> the compiled Servlet services the request and sends a response back to the client.

JSP ClassNotes

Embed Size (px)

Citation preview

Page 1: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 1/22

Page 2: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 2/22

Page 3: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 3/22

Page 4: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 4/22

Page 5: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 5/22

Page 6: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 6/22

Page 7: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 7/22

Page 8: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 8/22

Page 9: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 9/22

Page 10: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 10/22

Page 11: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 11/22

Page 12: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 12/22

Page 13: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 13/22

Page 14: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 14/22

Page 15: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 15/22

Page 16: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 16/22

Page 17: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 17/22

Page 18: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 18/22

Page 19: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 19/22

Page 20: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 20/22

Page 21: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 21/22

Page 22: JSP ClassNotes

8/8/2019 JSP ClassNotes

http://slidepdf.com/reader/full/jsp-classnotes 22/22