-
-
JSP Page Object Request
In order to access the request object from a JSP page? Which step you must complete among the following:a. call the getRequest method of the JSP page.b. Use the getServletConfig method of the JSP page, then call the getRequest method of the ServletConfig object.c. There is never a good reason to access the request object from a JSP page.d. It is an implicitly defined variable.
-
-
To show money format on the JSP page we use __________ class
Skill/Topic: Programming ConstructsA) AirthmaticFormat B) CurrencyFormat C) NumberFormat D) StringBuffer
-
-
-
-
Install Tomact
How to install tomact?
-
Jasper Exception in JSP
When and why jasperException occurs?
-
-
Transfer data in JSP
How to transfer data over multiple pages?
-
-
Exception Handling in JSP
How will you handle the exception without sending to error page? How will you set a message detail to the exception object?
-
-
-
-
Which of the following statements is true about JSP tag library?
Skill/Topic: Programming ConstructsA) It defines the standard tag that works the same everywhere B) It is a single library and we can use it in multiple jsp containers C) It has support for the common structural tasks like iteration and condition. D) All of the above
-
JSP Comments
What are the ways to write comments in the JSP page? Give example.
-
What is the servlet life cycle?
Each servlet has the same life cycle:A server loads and initializes the servlet (init())The servlet handles zero or more client requests (service())The server removes the servlet (destroy()) (some servers do this step only when they shut down)
-
What information that the ServletResponse interface gives the servlet methods for replying to the client?
It Allows the servlet to set the content length and MIME type of the reply. Provides an output stream, ServletOutputStream and a Writer through which the servlet can send the reply data.
JSP Interview Questions
Ans