by Dinesh Thakur Category: introduction to Servlet

In Java, Servlet container (also known as aWeb container) generates dynamic web pages. So servlet container is the essential part of the web server that interacts with the java servlets. Servlet Container communicates between client Browsers and the servlets.



 
by Dinesh Thakur Category: introduction to Servlet

Internet and WWW are often used interchangeably but both are different. Internet is the global network of computer networks whereas Web is one of the services provided over Internet. That is, Web is an application running over Internet. While creating web applications, the main goal is to perform most of the processing on the browser side, there by, reducing processing load on the server side.



 
by Dinesh Thakur Category: introduction to Servlet

In doGet Method the parameters are appended to the URL and sent along with the information. Maximum size of data that can be sent using do Get it 240 bytes. Parameters are not encrypted. doGet method generally is used to query or to get some informationfromthe server.



 
by Dinesh Thakur Category: introduction to Servlet

Both are send input values to target web resource program like servlet program along with the request. The difference are



 
by Dinesh Thakur Category: introduction to Servlet

Process based Server Side Technology

• The procedure of transferring control from one process to another process or from one thread to another thread is called as the scheduling based control jumping or context switching.

 
by Dinesh Thakur Category: introduction to Servlet

• The logic and data of stand alone, desktop applications are specific to that computer where these applications are running.

• The logics and data of client-server applications, two-tier applications like JDBC applications are specific to one network where they are running. In the above said two-tier, client-server applications the server allows only known clients (recognized clients).



 
by Dinesh Thakur Category: introduction to Servlet

Server side web technology is used to develop dynamic web resource programs that having the capability to generate dynamic web pages. Server side web technologies are two types.

 
by Dinesh Thakur Category: introduction to Servlet

Accessing data in a database or in any other data sources is a significant operation in web programming. Data access from JSPs and servlets is done through Java Database Connectivity (JDBC).



 
by Dinesh Thakur Category: introduction to Servlet

Of these, HTTP servlets have some additional objects that provide session-tracking capabilities, the servlet writer can use the HttpSession interface to maintain the state of a client between client requests upto some time period. The capability of maintaining cookies is also provided by the HTTP servlets, The servlet writer uses the Cookie class to save small bits of information within the client machine, which can be retrieved at request processing time, Program illustrates the use of the HttpServlets.



 
by Dinesh Thakur Category: introduction to Servlet

• The text that allows non-sequential access through hyper link is called as “hyper text”.

• Protocol http defines set of rules that are required to pass hyper text between browser to server and server to browser.

 

Page 2 of 24



About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.