Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs
125/subject and rs 500/semester only.
if urgent then call us on 08791490301, 08273413412
PROGRAM - BSc IT
SEMESTER - FOURTH
SUBJECT CODE &
NAME - BT0083, Server Side Programming-Theory
CREDIT - 4
BK ID - B1088
MAX. MARKS – 60
Q1. Define and
explain web servers and application servers. 5+5 = 10
Ans: Web Servers
and Application Servers: A
Web Server is a software program that delivers Web pages and other documents to
browsers using the HTTP protocol.
When
the Web server
Q2. Explain Servlet
methods used to retrieve data from HTML form. Give an examples. 7+3 = 10
Ans: Servlet
methods: HttpServlet
is a protocol dependent, can handle only Http specific requests. The
HttpServlet object's implementation of the service() method, which is called
during each service request, calls one of the seven different helper methods.
HTTP request can be GET, POST, HEAD, DELETE, PUT, TRACE
Q3. Describe the
following exception handling methods in a servlet with the help of examples. 10
1. Using the
web.xml file 2. Using a RequestDispatcher
Ans:
Using the web.xml file: Handling errors can be defined declaratively
using the sub tag of <errorpage> in web.xml file. There are two
ways in this declaration.
A.
<error-code>
tag of <
Q4. Explain the two
JSP architectures. 5+5 = 10
Ans: JSP Architectures: There are two general approaches you can take
when developing Web applications using JSP.
I.
Page-centric (Model 1) and
II.
II.
Servlet-centric architecture or N-tier architecture (Model 2)
I.
Model-1
Q5. Draw and
explain the diagram of custom tag life cycle. 2+8 = 10
Ans: The Custom Tag lifecycle.
Q6. Describe the
process of deactivating individual expression language statements with
example.10
Ans:
Deactivating Individual Expression
Language Statements: In
JSP 1.2 and earlier, strings of the form ${...} had no special meaning. So, it
is possible that the characters $ {appear within a previously created page that
is now
Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs
125/subject and rs 500/semester only.
if urgent then call us on 08791490301, 08273413412
No comments:
Post a Comment