Showing posts with label jsp. Show all posts
Showing posts with label jsp. Show all posts

April 14, 2017

J2EE Technologies Details explanation with examples

Normal 0 false false false EN-US X-NONE X-NONE ...
Read more ...

March 05, 2014

Latest Interview Questions on JAVA (Prepared by Sumitav Tripathy)

Wipro Interview Questions (Face to Face 1st March 2014)   For 4+ Experience. ·         Difference between Abstract Class & Interface? ·         Difference between Array List & Vector? ·         Difference...
Read more ...

October 11, 2012

Understanding JSP Life Cycle

JSP never outputs the content directly to the browser. Instead, JSP relies on initial server-side processing process which translates JSP page into the JSP Page class. The page class then will handle all the requests made of JSP. The JSP life cycle is described as the picture below: JSP life cycle can be divided into four phases: Translation,...
Read more ...

October 10, 2012

Responce once commited, any subsequent redirect operations will throw an IllegalStateException?

public void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { PrintWriter out = response.getWriter(); String dbValue = getValueFromDB (); if (dbValue == null) response.sendError (HttpServletResponse.SC_NOT_FOUND, "DB Lookup Failed"); response.sendRedirect ("Form.jsp"); } Question: Consider the following code snippet of above servlet code. If the getValueFromDB () method returns...
Read more ...

My Favorite Site's List

#update below script more than 500 posts