Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
If you write a Servlet as shown below that could work fine for both POST as well as GET Http Requests.
public class
CommonServlet extends HttpServlet
{
protected void
doGet(HttpServletRequest req, HttpServletResponse
resp)
throws
ServletException, IOException {
doProcess(req, resp);
}
protected void
doPost(HttpServletRequest req, HttpServletResponse
resp)
throws
ServletException, IOException {
doProcess(req, resp);
}
private void
doProcess(HttpServletRequest req, HttpServletResponse resp)
{
//write
your code
}
}
This Portal is intended to put all Java/J2ee related topics at one single place for quick referance, not only Technical , but also the Project Management Related thing such as Development Process methodoogies build process, unit testing etc.,
This Portal has More than 500 Java Interview Questions (also could be Considered as Quick Notes) very neatly separated topic by topic with simple diagrams which makes you easily understandable. Importantly these are from our Realtime expericance.