Home
Webmaster and SEO Forum Home
05/16/12 06:13
Webmaster and SEO RSS Feed

Using Servlets and JSP for your Web Applications


All listings are the responsiblity of the posters; keep in mind, anyone can post anything!
, Business Home together Opportunity: This is the patio between the two detached properties
us





Advertisement:
Free promotion



Recent Notes and Tags
Search Tags:

Webmaster and SEO

Using Servlets and JSP for your Web Applications


PreviousContentsNext

Thank author of this post/comment

Strictly speaking, web servers are only capable of delivering static HTML messages after they received HTTP requests from computer clients. The pages that web servers know how to serve natively cannot be dynamic in nature. For example, a web server cannot return the current time, because getting the current time cannot be statically stored in a database.

So how are you going to do it? A Java servlet is the answer. A Servlet is basically a Java class that knows how to respond to HTTP request. Instead of having the web server handling requests for dynamic pages on its own, it can delegate the task to a thread of the servlet to initiate an application that will handle the dynamic page. The dynamic content is using the Java platform, whose servlet API is located in the javax.servlet package. These Servlets are parallel to non-Java dynamic web content technologies such as CGI and ASP.NET.

In order to separate business logic Java classes and HTML files, there comes the need to introduce a new technology that will coordinate the two components of a web application without forcing each of the two components to see each other. This comes in the form of JavaServer Pages (JSP).

Developing web applications using Servlets and JSP follows the Model-View-Controller (MVC) data pattern, where the Servlet files serve as the controller, the Java core classes serve as the Model files, and the JSP files serve as the View files. The activities that happen during the course of interaction with the web app is hidden from the view of the user through an XML file called the Deployment Descriptor.

From this point on, everything is fairly complex and difficult to explain, but allow me to tell you about each component of a typical Java web application over the weeks. We'll try to look at Servlets first before heading on to JSP and the MVC pattern. Once you get hold of it, you will find that it is actually useful to be knowledgeable when it comes to handling dynamic web content.

You can talk about... Using Servlets and JSP for your Web Applications

Tags: • xmlappcgiapiplatformservletjavadatabaseclientshtmlserversweb appweb applicationweb contentweb serverdynamic contentweb applicationsjspseoservlets


Related articles:
Social sharing because it feels good:

PreviousContentsNext


Using Servlets and JSP for your Web Applications
Webmaster and SEO

Have you added a link to us from your website? (1962863013):
  • <a href="http://article-library.webmasterjrseo.com">Webmaster and SEO</a>
  • <a href="http://article-library.webmasterjrseo.com/java_servlets">Using Servlets and JSP for your Web Applications (java servlets); Webmaster and SEO </a>
Using Servlets and JSP for your Web Applications (java servlets); Webmaster and SEO Copyright (c) 2008-2011 GLR Sales LLC.
(rozwqizwipzett)

Privacy & DMCA Policy -- Sitemap
java servlets Using Servlets and JSP for your Web Applications