JSP Interview Questions
- What is JSP(Java Server Pages)?
- What is the difference between JSP and Servlet?
- What is the difference between static include and dynamic include in JSP?
- What is the difference between PageContext.include() and Include Directive <%@include%>?
- How JSPs are executed internally?
- What is JSP element and list all elements?
- What is the use of page directive?
- How can we include a Servlet in JSP page?
- What are the advantages of JSP compare to Servlet?
- What is JSP lifecycle?
- What is the use of Java Bean in JSP?
- What is JSP Model architecture?
- What is MVC-1 Architecture?
- What is JSP Model-1 Architecture?
- What is the difference between JSP Model-1 and Model-2 Architecture?
- How to define page buffer size in JSP?
- How to create thread safe JSP page?
- How to define error page in JSP?
- What is the use of <jsp:useBean> tag?
- What is implicit object in JSP and list their names?
- What are the different scopes in JSP?
- What is PageContext object in JSP?
- How to add extensions in JSP?
- What is the use of <%@taglib%> directive?
- What is the use of <%@page%> directive?
- What is the use of <%@include%> directive?
- What is custom tag in JSP?
- What are different action tags in JSP?
- What is tag handle class?
- How to create user define tags for JSP?
- How to use a Java Class in JSP?
- What is declaration tag/element in JSP?
- What is scriptlet element in JSP?
- What is template-text in JSP?
- How to set content-type in JSP?
- How to set response header in JSP?
- How to access init-prarm and context-param in JSP page?
- How to set different url-pattern to a JSP page? Is this possible?
- How to add request parameters during <jsp:forward> and <jsp:include> for second JSP page?
- What is the use of <jsp:param> tag in JSP page?