Posted in J2EE, Servlet on February 21, 2008 | No Comments »
Overview of Servlets
Servlets represent an extension to the HTTP server. It takes http request as an input and sends the http response to the client as an output. Servlet API provides two packages they are javax.servlet and javax.http.servelt. These packages contain interfaces and classes to deal with generic and http functionality that means you can [...]
Read Full Post »
Posted in J2EE, JSP, Servlet on February 21, 2008 | 2 Comments »
Overview of JSP
When the user requests a JSP page for the first time, A JSP converts into servlet java source file and compiles into servlet class file that is called as translation phase, then onwards it works like pure servlet for all requests this is called execution/request process phase. But the method signatures are different [...]
Read Full Post »
Posted in J2EE, JAVA, JSP, Servlet on February 21, 2008 | No Comments »
A thread is a single execution process; in other words, an individual, sequential flow of control within a program. When we say that a program is multi-threaded, we are not implying that the program runs two separate instances simultaneously (as if you concurrently executed the program twice from the command line). Rather, we are saying [...]
Read Full Post »
Posted in Servlet on February 19, 2008 | No Comments »
This FAQ is part of the Code Style Help and FAQ section.
Read Full Post »
Posted in Servlet on February 19, 2008 | No Comments »
Typically, a servlet class is instantiated the first time it is invoked. The same instance will be used over several client requests, so all members that are declared in that servlet are shared accross clients. That is what is meant by multi threaded model, multiple clients that access the same instance.
Read Full Post »
Posted in JAVA, JSP, Servlet on February 18, 2008 | No Comments »
Check here and read about javax.servlet.jsp package
Read Full Post »