Benefits of using Servlets for developing Web Applications:
Servlets are an integral part of any J2EE Web application. The key benefits of using Servlets in our web applications are:
a. They are faster than CGI scripts because each CGI script produces an entirely new process that takes a lot of time to execute, whereas a servlet creates only a new thread.
b. Servlet API is standard and available easily on the internet (like JSPs)
c. Servlets have the advantages like ease of development & platform independence (like Java)
d. They can access all the J2SE and J2EE APIs
e. Can take the full advantage & capabilities of the Java programming langauge
Yes. All sorts of web Applications/websites can be created using JSP and Servlets
scope of operater
You cannot. You display JSP Pages using the help of Servlets. Servlets are of the background classes and you cannot display them
barsanabegam
It is very hard to edit a servlet program using hacking.
i dont no string for servlate
Servlets are modules of Java code that run in a server application (hence the name "Servlets", similar to "Applets" on the client side) to answer client requests. Servlets are not tied to a specific client-server protocol but they are most commonly used with HTTP and the word "Servlet" is often used in the meaning of "HTTP Servlet".Servlets make use of the Java standard extension classes in the packages javax.servlet (the basic Servlet framework) and javax.servlet.http (extensions of the Servlet framework for Servlets that answer HTTP requests). Since Servlets are written in the highly portable Java language and follow a standard framework, they provide a means to create sophisticated server extensions in a server and operating system independent way.Advantages of Using Servletsa. They are faster than CGI scripts because each CGI script produces an entirely new process that takes a lot of time to execute, whereas a servlet creates only a new thread.b. Servlet API is standard and available easily on the internet (like JSPs)c. Servlets have the advantages like ease of development & platform independence (like Java)d. They can access all the J2SE and J2EE APIse. Can take the full advantage & capabilities of the Java programming language
using servlets, php, and database we can connect import codes into java
No. But, knowledge of Servlets would be an added advantage if you are learning JSPs
No. I believe, servlets are much secure and more powerful than applets.
It is very easy to upload excel spreadsheet data into a MySQL database using JSP and servlets. Within Java there is a tool where you can designate the name and location of the file you would like to import. Once you furnish the file name Java server pages will do the work for you.
J2SE stands for Java 2 Standard Edition and I dont think Servlets are a part of it. Servlets are only part of the Java 2 Enterprise Edition.