1.
What is JSESSIONID in Java? When does JSESSIONID gets created ?
2.
What is difference between include action and include directive in JSP?
3.
How do you define application wide error page in JSP?
4.
Difference between sendredirect and forward in Servlet
?
5.
How
do remove variable using <c:set> tag from JSTL ?
6.
What is difference between Web Server and Application Server ?
7.
What
is difference between URL Encoding and URL rewriting ?
8.
How
do you get ServletContext reference inside Servlet ?
9.
What is difference between ServletContext and
ServletConfig in Java ?
10.
What is difference between GET and POST method in HTTP
protocol?
11.
What does load-on-start-up element in web.xml do?
12.
What are the
phases of the servlet life cycle?
13.
What are the
phases of the servlet life cycle?
14.
What is the
difference between doGet() and doPost()?
15.
What is the
difference between the include() and forward() methods?
49.
How can I implement a thread-safe JSP page? What are the
advantages and Disadvantages of using it?
114.
In how many ways we can trigger a GET reuest?
120.
If you are sending Get reuest but our Servlet contains
doGet() & service() Methods then which method will be
executed?
122.
Even though HttpServlet doesn't contain any abstract method why it is
declared as abstract class?
126.
To what value is a variable of the String type automatically initialized?How we can retrieve cookies from the
reuest?
155.
What is the purpose of Servlet initialization parameters and explain how
to configure in web.xml?
183.
Explain the cases where we should go for each scope?
184.
explain the methods to perform following activities?
a)
Adding an attribute?
b)
Get the name of an attribute?
c)
Remove an attribute?
d)
Modify the value of an attribute?
e)
To display all attribute names present in a specified
scope?
192.
What are various attributes added by web container while
forwarding & including? What is the purpose
of these attributes?
208.
What is the need of Session Management? Explain cases where Session Management is reuired
with example?
225.
By using which Methods we can implement URLRewriting?
227.
Explain advantages & disadvantages of cookies, URL Writing, Session API
234.
What is the difference between HSAL & HSBL?
235.
What are various methods present in binding listeners?
237.
At the time of application deployment to perform certain activities which
listener is responsible?
244.
What is the difference between declarative Security & programmatic
security?
No comments:
Post a Comment