|
Question |
Rating |
View Answer |
|
How HTTP Servlet handles client requests? |
|
View Answer |
|
Suppose in web.xml file we are given 30 and in the servlet program we are given setSessionInActiveInterval(40).when that session will be terminated ? After 30 sec or 40 sec?
|
|
View Answer |
|
What are the uses of Servlets?
|
|
View Answer |
|
What is a better approach for enabling thread-safe servlets and JSPs? SingleThreadModel Interface or Synchronization? |
|
View Answer |
|
How can I send user authentication information while making URL Connection? |
|
View Answer |
|
How the server will know (i.e) when it can invoke init, service,destroy methods of servlet life cycle?
|
|
View Answer |
|
Why init is used and not constructor for servlets initialization?
|
|
View Answer |
|
Consider a scenario in which 4 users are accessing a servlet instance. Among which one user called destroy() method. What happens to the rest 3 users?
|
|
View Answer |
|
What is the difference between servlets and applets? |
|
View Answer |
|
If a servlet is not properly initialized, what exception may be thrown? |
|
View Answer |
|
How to get value from init() method in servlet? or How to get initializaion time values from init() in servlet |
|
View Answer |
|
When you have action=get?
|
|
View Answer |
|
What is super class of Action and ActionForm?
|
|
View Answer |
|
How can we refresh the servlet for every 2 minutes automatically?
|
|
View Answer |
|
We have two applications in that we have two servlets each.How they(servlets) communicate with each other ?
|
|
View Answer |
|
What is the importance of deployment descriptor in servlet?
|
|
View Answer |
|
How do to prevent user by viewing secured page by clicking back button when session expired..:)
|
|
View Answer |
|
When destroy method get call, will it call for each user please give the ans in detail?
|
|
View Answer |
|
What is difference between sendRedirect() and forward()..? Which one is faster then other and which works on server?
|
|
View Answer |
|
How many ways we can destroy the servlet in ur program
|
|
View Answer |