-
What do you understand by JSP Actions?
JSP actions are XML tags that direct theserver to use existing components or control thebehavior of the JSP engine. JSP Actions consist of atypical (XML-based) prefix of "jsp" followed by acolon, followed by the action name followed by one ormore attribute parameters.There are six JSP Actions:
-
-
-
-
-
-
-
-
What is the difference between and response.sendRedirect(url),?
The element forwards the requestobject containing the client request information fromone JSP file to another file. The target file can bean HTML file, another JSP file, or a servlet, as longas it is in the same application context as theforwarding JSP file. sendRedirect sends HTTP temporary redirect response tothe browser, and browser creates a new request to gothe redirected page. The response.sendRedirect...
-
-
-
-
-
-
What is the difference between GenericServlet and HttpServlet?
GenericServlet is for servlets that might not use HTTP, like for instance FTP service.As of only Http is implemented completely in HttpServlet. The GenericServlet has a service() method that gets called when a client request is made. This means that it gets called by both incoming requests and the HTTP requests are given to the servlet as they are.[qu]What are the differences between GET and POST service...
-
-
-
-
The mails can be send from the Servlet by the usage of the following :-
Skill/Topic: ServletsA) Simple Mail Transfer Protocol (SMTP) implementation in Java.B) Java Mail APIC) Both a and bD) Neither a and b
-
Which of the following is true (Multiple choice)
Skill/Topic: FundamentalsA) out class refers to the output stream for the http page B) page class refers to the page Servlet interface C) pageContext refers to the pages Servlet interface D) config interface refers to the servlets configuration.
JSP Interview Questions
Ans