-
why we need web container to Deploy the servlet or jsp ?
i.e Why we can not run the application like simple java program
-
-
-
-
How does a servlet communicate with a JSP page?
The following code snippet shows how a servlet instantiates a bean and initializes it with FORM data posted by a browser. The bean is then placed into the request, and the call is then forwarded to the JSP page, Bean1.jsp, by means of a request dispatcher for downstream processing.public void doPost (HttpServletRequest request, HttpServletResponse response){try {govi.FormBean f = new govi.FormBean();String...