-
Difference Between Web Container and Web Server
What is the Difference Between Web Container and Web Server?(Asked in Polaris Interview , held on April 11, Chennai)
-
Write a java servlet to read two parameters ?
Write a java servlet which reads two parameters from the web page,say,value 1 and value 2,which are of type integers,and finds the sum of the two values and return back the result as a web page
-
Applet trusted or not
by default applets are trusted or untrusted?
is it possible to connect with database using applet program using type1 driver? -
What is a better approach for enabling thread-safe servlets and JSPs? SingleThreadModel Interface or Synchronization?
Although the SingleThreadModel technique is easy to use, and works well for low volume sites, it does not scale well. If you anticipate your users to increase in the future, you may be better off implementing explicit synchronization for your shared data. The key however, is to effectively minimize the amount of code that is synchronzied so that you take maximum advantage of multithreading.Also, note...
-
What information that the ServletRequest interface allows the servlet access to?
Information such as the names of the parameters passed in by the client, the protocol (scheme) being used by the client, and the names of the remote host that made the request and the server that received it. The input stream, ServletInputStream.Servlets use the input stream to get data from clients that use application protocols such as the HTTP POST and PUT methods.
-
-
-
-
-
-
-
-
-
-
-
Servlets Interview Questions
Ans