JSP-FAQ S
JSP-FAQ S
JSP-FAQ S
nd
DURGASOFT, # 202,2 Floor,HUDAMaitrivanam,Ameerpet, Hyderabad - 500038, 040 – 64 51 27 86,
80 96 96 96 96, 9246212143 | www.durgasoft.com
16. What is the jspDestroy() method?
18. How can I override the jspInit() and jspDestroy() methods within a JSP page?
20 . Why is _jspService() method starting with an '_' while other life cycle methods do not?
nd
DURGASOFT, # 202,2 Floor,HUDAMaitrivanam,Ameerpet, Hyderabad - 500038, 040 – 64 51 27 86,
80 96 96 96 96, 9246212143 | www.durgasoft.com
26. How can I declare methods within my JSP page?
27. What is the difference b/w variable declared inside a declaration and variable declared in scriplet ?
28.What are the three kinds of comments in JSP and what's the difference between them?
34. How can I implement a thread-safe JSP page? What are the advantages and Disadvantages of using
it?
nd
DURGASOFT, # 202,2 Floor,HUDAMaitrivanam,Ameerpet, Hyderabad - 500038, 040 – 64 51 27 86,
80 96 96 96 96, 9246212143 | www.durgasoft.com
35. What is the difference between ServletContext and PageContext?
37 . Can you make use of a ServletOutputStream object from within a JSP page?
38 .What is the page directive is used to prevent a JSP page from automatically creating a session?
39. What's a better approach for enabling thread-safe servlets and JSPs? SingleThreadModel Interface or
Synchronization?
42. How do you restrict page errors display in the JSP page?
50.In which situation we can use static include and dynamic include in JSPs ?
nd
DURGASOFT, # 202,2 Floor,HUDAMaitrivanam,Ameerpet, Hyderabad - 500038, 040 – 64 51 27 86,
80 96 96 96 96, 9246212143 | www.durgasoft.com
nd
DURGASOFT, # 202,2 Floor,HUDAMaitrivanam,Ameerpet, Hyderabad - 500038, 040 – 64 51 27 86,
80 96 96 96 96, 9246212143 | www.durgasoft.com
nd
DURGASOFT, # 202,2 Floor,HUDAMaitrivanam,Ameerpet, Hyderabad - 500038, 040 – 64 51 27 86,
80 96 96 96 96, 9246212143 | www.durgasoft.com