Computer Notes https://ecomputernotes.com Sun, 13 Sep 2020 06:31:03 +0000 en-US hourly 1 https://ecomputernotes.com/images/favicon.ico Computer Notes https://ecomputernotes.com 32 32 Creating and Executing Servlets https://ecomputernotes.com/servlet/intro/creating-and-executing-servlets https://ecomputernotes.com/servlet/intro/creating-and-executing-servlets#respond Tue, 16 Sep 2014 04:53:35 +0000 https://ecomputernotes.com/servlet/intro/servlet/intro/creating-and-executing-servlets/ Servlets are platform independent and can work with almost all the web servers. They can be executed on any web server that supports the servlet API. Some of the web servers having built-in support for Java servlets are Tomcat server (Apache), Java web server (Sun Microsystems), Enterprise server (Netscape), Zeus web server (Zeus Technology), Tengah application server (Weblogic) and Sun web server (Sun Microsystems).

The post Creating and Executing Servlets appeared first on Computer Notes.

]]>
https://ecomputernotes.com/servlet/intro/creating-and-executing-servlets/feed 0
Advantages of Servlets https://ecomputernotes.com/servlet/intro/advantages-of-servlets https://ecomputernotes.com/servlet/intro/advantages-of-servlets#respond Tue, 16 Sep 2014 04:42:35 +0000 https://ecomputernotes.com/servlet/intro/servlet/intro/advantages-of-servlets/ 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.

The post Advantages of Servlets appeared first on Computer Notes.

]]>
https://ecomputernotes.com/servlet/intro/advantages-of-servlets/feed 0
Jsp To Servlet Communication https://ecomputernotes.com/servlet/intro/jsp-to-servlet-communication https://ecomputernotes.com/servlet/intro/jsp-to-servlet-communication#respond Sat, 26 Jul 2014 05:56:53 +0000 https://ecomputernotes.com/servlet/intro/servlet/intro/jsp-to-servlet-communication/ JSP is a tag-based language, i.e., code is written within specified tags. It is developed by Sun Microsystems. Unlike servlet program, we can write HTML tags within the JSP program, making it easier to build.

The post Jsp To Servlet Communication appeared first on Computer Notes.

]]>
https://ecomputernotes.com/servlet/intro/jsp-to-servlet-communication/feed 0
Servlet to Database Communication https://ecomputernotes.com/servlet/intro/servlet-to-database-communication https://ecomputernotes.com/servlet/intro/servlet-to-database-communication#respond Sat, 26 Jul 2014 05:24:02 +0000 https://ecomputernotes.com/servlet/intro/servlet-to-database-communication/ 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).

The post Servlet to Database Communication appeared first on Computer Notes.

]]>
https://ecomputernotes.com/servlet/intro/servlet-to-database-communication/feed 0
Applet to Servlet Communication https://ecomputernotes.com/servlet/intro/applet-to-servlet-communication https://ecomputernotes.com/servlet/intro/applet-to-servlet-communication#respond Fri, 25 Jul 2014 05:42:44 +0000 https://ecomputernotes.com/java/what-is-java/applet-to-servlet-communication/ HTML exhibits high performance by taking less time to load in the browser. However, when we use HTML page for important user details, by default, all the parameters that are passed appended in the URL. This compromises with the security. On the other hand, applet takes more time to load but there is no problem with Java security. This is an advantage of this technique.

The post Applet to Servlet Communication appeared first on Computer Notes.

]]>
https://ecomputernotes.com/servlet/intro/applet-to-servlet-communication/feed 0
What is the difference between doGet and doPost? https://ecomputernotes.com/servlet/intro/doget-and-dopost https://ecomputernotes.com/servlet/intro/doget-and-dopost#respond Thu, 24 Jul 2014 05:20:48 +0000 https://ecomputernotes.com/servlet/intro/servlet/intro/doget-and-dopost/ 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.

The post What is the difference between doGet and doPost? appeared first on Computer Notes.

]]>
https://ecomputernotes.com/servlet/intro/doget-and-dopost/feed 0
What is HttpServlet and it’s Methods? https://ecomputernotes.com/servlet/intro/httpservlet-and-it-s-methods https://ecomputernotes.com/servlet/intro/httpservlet-and-it-s-methods#respond Tue, 22 Jul 2014 12:19:21 +0000 https://ecomputernotes.com/servlet/intro/servlet/intro/httpservlet-and-it-s-methods/ HttpServlet is an abstract class given under the servlet-api present. It is present in javax.servlet.http package and has no abstract methods. It extends GenericServlet class.

The post What is HttpServlet and it’s Methods? appeared first on Computer Notes.

]]>
https://ecomputernotes.com/servlet/intro/httpservlet-and-it-s-methods/feed 0
What is Http Header? https://ecomputernotes.com/servlet/intro/http-header https://ecomputernotes.com/servlet/intro/http-header#respond Tue, 22 Jul 2014 12:10:23 +0000 https://ecomputernotes.com/servlet/intro/servlet/intro/http-header/ HTTP headers are the request to a server for information and the resulting response. When you input an address into your browser, it sends a request to the server hosting the domain and the server responds. You can see the request and response using the basic HTTP Header Viewer. The HTTP Header Viewer can be used to view the Headers or Headers and Content of any valid http:/ / url. When the HEAD is selected, the request is for the server to only send header information. AGET selection requests both headers and file content just like a browser request. Information in response headers may include:

The post What is Http Header? appeared first on Computer Notes.

]]>
https://ecomputernotes.com/servlet/intro/http-header/feed 0
Describing ServletRequest and ServletResponse. https://ecomputernotes.com/servlet/intro/servletrequest-and-servletresponse https://ecomputernotes.com/servlet/intro/servletrequest-and-servletresponse#respond Tue, 22 Jul 2014 04:12:44 +0000 https://ecomputernotes.com/servlet/intro/servletrequest-and-servletresponse/ The ServletRequest is a predefined interface present in javax.serviet package. The object of ServletRequest interface deals with the client request and fetches it to the servlet program. This object is created by the servlet container and is used as the argument of service method (life cycle method).

The post Describing ServletRequest and ServletResponse. appeared first on Computer Notes.

]]>
https://ecomputernotes.com/servlet/intro/servletrequest-and-servletresponse/feed 0
Implementing Servlet Object https://ecomputernotes.com/servlet/intro/implementing-servlet-object https://ecomputernotes.com/servlet/intro/implementing-servlet-object#respond Tue, 22 Jul 2014 03:19:45 +0000 https://ecomputernotes.com/servlet/intro/servlet/intro/implementing-servlet-object/ The Servlet object is a Java object that is initiated and managed by the Servlet container. However, the Java object needs to be implemented descriptive to the Servlet container. The following rules are specified by the Java Servlet specification for implementing the Servlet object:

The post Implementing Servlet Object appeared first on Computer Notes.

]]>
https://ecomputernotes.com/servlet/intro/implementing-servlet-object/feed 0