bt0083

advertisement
Get fully solved assignment. Buy online from website
http://smuassignment.in/online-store/
online store
or
plz drop a mail with your sub code
computeroperator4@gmail.com
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
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
Q3. Write a note on tracking the sessions using cookies. Give advantages and disadvantages
of cookies.
ANS:
There are various techniques of session tracking, they are as follows:
1. Using Cookies
2. Using URL-Rewriting
3. Using Hidden Form Fields
Using Cookies
Definition: Cookies are pieces of data that web server adds in the client browser and later in the web
server for tracking. Cookies are useful for
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-centric architecture or N-
Qus:5 Draw and explain the diagram of custom tag life cycle.
Answer:
The diagram of custom tag life cycle:
Q6. Describe the process of deactivating individual expression language statements with
example.
Answer:
Deactivating individual expression language statements: In JSP 1.2 pages that need to be
ported unmodified across multiple JSP versions (with no web.xml changes), you can replace $
with $, the HTML character entity for $. In JSP 2.0 pages that contain both expression
language
Get fully solved assignment. Buy online from website
http://smuassignment.in/online-store/
online store
or
plz drop a mail with your sub code
computeroperator4@gmail.com
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
Download