Friday, August 19, 2016

Unit 4: The Environment setup for Java Web Application

Environment setup

- Java SE (JDK + JRE)
- Tomcat
- Eclipse
- Tell Eclipse about Tomcat
- Run Tomcat

So servlet is used to generate HTML and send it in response if you will look into the doGet() implementation, we are actually creating an HTML document as writing it in response PrintWriter object and we are adding dynamic information where we need it.

 JSP is also server side technology and it’s like HTML with additional features to add dynamic content where we need it. JSPs are good for presentation because it’s easy to write because it’s like HTML. Here is our first JSP program that does the same thing like above servlet.


Unknown

About Unknown

Author Description here.. Nulla sagittis convallis. Curabitur consequat. Quisque metus enim, venenatis fermentum, mollis in, porta et, nibh. Duis vulputate elit in elit. Mauris dictum libero id justo.

Subscribe to this Blog via Email :