Saved Bookmarks
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 151. |
Explains the differences between context.getRequestDispatcher() and request.getRequestDispatcher()? |
| Answer» | |
| 152. |
How can we implement a JSP page? |
| Answer» | |
| 153. |
How can we include static files in the JSP page? |
| Answer» | |
| 154. |
How many JSP scripting elements are there and what are those? |
| Answer» | |
| 155. |
Tell the new features added in ServletRequest interface i.e. Servlet 2.4 |
| Answer» | |
| 156. |
what is the procedure for initializing a servlet? |
| Answer» | |
| 157. |
Explain servlet. |
| Answer» | |
| 158. |
Explain the servlet context. |
| Answer» | |
| 159. |
Define the servlet mapping. |
| Answer» | |
| 160. |
What is session? |
| Answer» | |
| 161. |
Explain GET and POST. |
| Answer» | |
| 162. |
What are the mechanisms used by a Servlet Container for maintaining session information? |
| Answer» | |
| 163. |
Name the different ways of session tracking. |
| Answer» | |
| 164. |
Explain the custom JSP tags and the beans. |
| Answer» | |
| 165. |
Explain the differences between Jsp and Servlet. |
| Answer» | |
| 166. |
Tell us something about ServletContext interface. |
| Answer» | |
| 167. |
Tell us something about ServletConfig interface. |
| Answer» | |
| 168. |
What are the disadvantages of storing session state in cookies? |
| Answer» | |
| 169. |
What are the types of Session Tracking ? |
| Answer» | |
| 170. |
How can the session in Servlet be destroyed? |
| Answer» | |
| 171. |
What is GenericServlet class? |
| Answer» | |
| 172. |
What is lazy loading? |
| Answer» | |
| 173. |
Why is a constructor needed in a servlet even if we use the init method? |
| Answer» | |
| 174. |
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that? |
| Answer» | |
| 175. |
When should you prefer to use doGet() over doPost()? |
| Answer» | |
| 176. |
Differentiate between GET and POST. |
| Answer» | |
| 177. |
Why is HttpServlet declared abstract? |
| Answer» | |
| 178. |
What are the uses of Servlet? |
| Answer» | |
| 179. |
How would you create deadlock on your servlet? |
| Answer» | |
| 180. |
What is the difference between callling a RequestDispatcher using ServletRequest and ServletContext? |
| Answer» | |
| 181. |
What is Servlet Chaining? |
| Answer» | |
| 182. |
What are the functions of Servlet container? |
| Answer» | |
| 183. |
What is an Applet container? |
| Answer» | |
| 184. |
What are the ways in which duplicate form submission can occur? |
| Answer» | |
| 185. |
State an example of struts configuration file as an action parameter for action servlet. |
| Answer» | |
| 186. |
How is a lookup dispatch action created? |
| Answer» | |
| 187. |
Give an alternative way to protect JSP’s with not much features from direct access. |
| Answer» | |
| 188. |
How can forward action be used to restrict a strut application to MVC? |
| Answer» | |
| 189. |
How is forward action used for integration? |
| Answer» | |
| 190. |
State the procedure for using forward attribute of link tag’s. |
| Answer» | |
| 191. |
How can link tag’s action attribute be used? |
| Answer» | |
| 192. |
What are the steps involved in creating a strut application? |
| Answer» | |
| 193. |
How to work with error tags? |
| Answer» | |
| 194. |
What are the reasons for an error message not being displayed while developing struts application? |
| Answer» | |
| 195. |
What is the procedure of operation of a form tag? |
| Answer» | |
| 196. |
What is a custom tag? |
| Answer» | |
| 197. |
Give an example of validates method used to avoid errors. |
| Answer» | |
| 198. |
List the important attribute and elements of action mapping under struts. |
| Answer» | |
| 199. |
What are the sections into which a strut configuration file can be divided? |
| Answer» | |
| 200. |
What are action errors and error and what are the consequences they impose? |
| Answer» | |