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
Qus:1
Describe java servlets and compare it with CGI.
Answer:
Java
servlets and compare it with CGI:
Definition: “It is a Web component managed by a Web
container, which generates dynamic content in Web pages.” A Servlet is a Java
application that runs in a Web server or an application server and provides
server-side processing such as accessing a database. Servlets are protocol and
platform
Qus:2
Explain handling the form elements to retrieve the data from form using servlet
API. Give some examples
Answer:
Handling
the form elements to retrieve the data from form using servlet API:
HTML forms are used to
create good GUI for user interaction. Here you can create Textbox, checkboxes,
radio buttons, combo box, and various kinds of GUIs on the forms. After
creating forms and GUI, the important step is to consider is the methods to
retrieve inform of these forms in servlet. This data can be retrieved either by
GET or POST method. In GET method data will be appended in URL,
Qus:3
Describe the following exception handling methods in a servlet with the help of
examples
1.
Using the web.xml file
2.
Using a RequestDispatcher
Answer:
1.
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>
Qus:4
Explain the two JSP architectures.
Answer:
The
two JSP architectures:
There are two
general approaches you can take when developing Web applications using JSP.
I. Page-centric
(Model 1) and
II. Servlet-
Qus:5
Draw and explain the diagram of custom tag life cycle.
Answer:
The
diagram of custom tag life cycle:
Qus:6
Describe the usage of EL (Expression Language) operators with suitable
examples.
Answer:
Usage
of EL (Expression Language) operators with suitable examples:
The JSP 2.0 expression
language defines a number of arithmetic, relational, logical, and
missing-value-testing operators. Although the use of the operators often result
in code that is a bit shorter than the
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