Ask Questions & Get Answers at ibibo sawaal
     Powered by Bixee Crawl
Results 1 - 15 of about 597 sawaal for "servlet"
Sort by: Recency | Relevancy

what is the life cycle of servlets?

hello blogger The life cycle of a servlet can be categorized into four parts:1. Loading and Inatantiation: The servlet container loads the servlet during startup or when the first request is made. The loading of the servlet depends on the attribute <load-on-startup> of web.xml file. If the attribute <load-on-startup> has a positive value then the servlet is load with loading of the container

Posted in Computers & Technology by blogger01 at 12:53 PM on May 23, 2008

what is the life cycle of servlets?

The Servlet lifecycle consists of the following steps:The Servlet class is loaded by the container during start-up. The container calls the init method. This method initializes the servlet and must be called before the servlet can service any requests. In the entire life of a servlet, the init method is called only once. After initialization, the servlet can service client-requests. Each request

Posted in Computers & Technology by Sharad Singh at 9:18 PM on May 15, 2008

How do you pass data including JavaBeans to a JSP from a servlet?

beans, a request dispatcher using either include or forward can be called. This bean will disappear after processing this request has been completed. Servlet: request. setAttributetheBean, myBean; RequestDispatcher rd = getServletContext. getRequestDispatcherthepage. jsp; rd. forwardrequest, response; JSP PAGE:2 Session Lifetime: Using this technique to pass beans that are relevant to a particular session

Posted in Computers & Technology by rocky singh at 3:21 AM on June 26, 2008
Tags pass, data, servlet

What is the difference between JSP and Servlets?

extension to the Java servlet technology from Sun that allows HTML to be combined with Java on the same page. The Java provides the processing, and the HTML provides the layout on the Web page be completely hidden.Servlet - A Java application that runs in a Web server or application server and provides server-side processing such as accessing a database and e-commerce transactions. Widely used for Web

Posted in Computers & Technology by rocky singh at 3:34 AM on June 26, 2008

what is the difference b/w applet and servelet?

they resides.5Applets are useful to develop the static web pages.SERVLETS:1 Servlet is a purely server side program2 Servlets always runs in the server.3 Servlets can be placed in any web and application servers.4 Servlets are useful to develop the dynamic web pages....APPLETS:1 It is a special type of java program which runs on any web browser.2 Applets resides at server but when client makes a request

Posted in Computers & Technology by DRIVE100 SS at 7:51 PM on June 22, 2008

what is servlet life cycle?

Hi;Servlet lifecycle Handled by the servlet container. Create and initialize the servlet. Handle zero or more service calls. Destroy and garbage collect the servlet. A single servlet instance to handle every request.Initializing a Servlet When a server loads a servlet, the server runs the servlets init method. Initialization completes before client requests are handled and before the servlet

Posted in Computers & Technology by Sharad Singh at 11:20 PM on May 21, 2008

What are the different servers available for developing and deploying Servlets?

There are many server available for developing and deploying servlet. Some are given below-a JRun2.0Allaireb Apache jservc jwsdk2.0 sund servletexece Tomcat webservertomcatf Weblogic ASBEA SystemsgIBM websphere--IBM horacle--oracle iProton-Pramati technologies...Servlets in Apache Tomcat and BEA Systems WebLogic ServerServlets in Apache Tomcat and BEA Systems WebLogic ServerBy: By Steven Gould

Posted in Computers & Technology by Mohini Shah at 11:53 PM on August 03, 2008

what is the difference between java servlets and java beans

hi thereJava Servlets are small programs coded in the Java programming laguage that are executed on a web server. They perform certain task and are able to produce dynamic web content, ie generate web pages on-the-fly.The Java Servlet API allows a software developer to add dynamic content to a Web server using the Java platform. The generated content is commonly HTML, but may be other data

Posted in Computers & Technology by priyanka at 7:50 PM on June 27, 2008

What is Servlet Life Cycle?

The lifecycle of a servlet begins when it is loaded into Application Server memory and ends when the servlet is terminated or reloaded.Servlet lifecycleInstantiation and initializationThe servlet engine the WebSphere Application Server - Express function that processes servlets and JSP files creates an instance of the servlet. The servlet engine creates the servlet configuration object and uses

Posted in Computers & Technology by AmitSingh at 12:23 AM on November 09, 2008

Explain the life-cycle methods in JSP?

A JSP page services requests as a servlet. Thus, the life cycle and many of the capabilities of JSP pages in particular the dynamic aspects are determined by Java Servlet technology. 1. JSP page container first checks whether the JSP pages servlet is older than the JSP page. If the servlet is older, the web container translates the JSP page into a servlet class and compiles the class. During

Posted in Computers & Technology by jatin prasad at 3:21 AM on October 27, 2008

what is servlet?

A servlet is a small program that runs on a server. The term was coined in the context of the Java applet, a small program that is sent as a separate file along with a Web HTML page. Java applets be implemented with the Java programming language. The advantage of a Java servlet on servers with lots of traffic is that they can execute more quickly than CGI applications. Rather than causing a separate

Posted in Computers & Technology by Sharad Singh at 11:19 PM on May 21, 2008
Tags servlet

Hi,I am trying to establish a connection to the database using JSPs but I am getting a servlet exception and null pointer exception can anyone help me out

In the beginning, servlets were invented, and the world saw that they were good. Dynamic web pages based on servlets executed quickly, could be moved between servers easily, and integrated well with back-end data sources. Servlets became widely accepted as a premiere platform for server-side web development.However, the commonly-used simple approach to generating HTML content, having the programer

Posted in Computers & Technology by Sai at 5:04 PM on June 12, 2008
Tags hi

What exactly are servlets?

at the server end through CGI scripts, server side applications, and now servlets!Servlets are pieces of Java code that work at the server end. Servlets have all the access to resources on the server that a CGI script do, and arent normally limited by the restrictions on file and network access that Java applets have traditionally been held back by. Servlets also offer substantial performance advantages

Posted in Computers & Technology by rashmigoyel at 10:03 PM on November 12, 2008

What exactly are servlets?

, servlets are designed to handle HTTP requests get, post, etc. and are the standard Java replacement for a variety of other methods, including CGI scripts, Active Server Pages ASPs and proprietary C/C plug-ins for specific Web servers ISAPI, NSAPI.Because they are written in Java, servlets are portable between servers and operating systems. The servlet programming interface Java Servlet API is a standard part of the J

Posted in Computers & Technology by shyamal at 4:34 AM on October 26, 2008

Is it possible to communicate from an applet to servlet and how many ways and how?

Yes, there are three ways to communicate from an applet to servlet and they are:a HTTP CommunicationText-based and object-basedb Socket Communicationc RMI CommunicationYou can say, by using URL object open the connection to server and get the InputStream fromURLConnection object.Steps involved for applet-servlet communication:step: 1 Get the server URL.URL url = new URL;step: 2 Connect

Posted in Computers & Technology by Mohini Shah at 11:53 PM on August 03, 2008
Refine By Date
sawaal signature
sawaal free visiting card