BT0083,Server Side Programming-Theory

Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )
ASSIGNMENT
PROGRAM
BSc IT
SEMESTER
FOURTH
SUBJECT CODE & NAME
BT0083,Server Side Programming-Theory
CREDIT
4
BK ID
B1088
MAX.MARKS
60

Q.1 Describe in brief about the client side HTTP requests and server side HTTP responses.
Answer: - Client side HTTP requests: - Client-side refers to operations that are performed by the client in a client–server relationship in a computer network.
Typically, a client is a computer application, such as a web browser, that runs on a user's local computer or workstation and connects to a server as necessary. Operations may be performed client-side because they require access to information or functionality that is available on the client but not on the server, because the user needs to observe them or provide input, or because the server lacks the processing power to perform the operations in a timely manner for all of the clients it serves. Additionally, if operations can be performed by the client, without sending data over the network, they may take less time, use less bandwidth, and incur a lesser security risk.
When the server serves data in a commonly used

Q.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:-
Request Parameters:- Each access to a servlet can have any number of request parameters associated with it. These parameters are typically name/value pairs that tell the servlet any extra information it needs to handle the request. Please don’t confuse these request parameters with init parameters, which are associated with the servlet itself.
An HTTP servlet gets its request parameters as part of its


Q.3 Write a note on tracking the sessions using cookies. Also give advantages and disadvantages of cookies.
Answer: - tracking the sessions using cookies:
Cookies: -A web server can assign a unique session ID as a cookie to each web client and for subsequent requests from the client they can be recognized using the recieved cookie.
This may not be an effective way because many time browsers does not support a cookie, so I would not recommend to use this procedure to maintain the

Q.4 Explain the two JSP architectures.
Answer: - The JSP specification presents two approaches for building web applications using JSP pages: JSP Model 1 and Model 2 architectures. These two models differ in the location where the processing takes place. In Model 1 architecture, the JSP page is responsible for processing requests and sending back replies to clients.
The Model 2 architecture, integrates the use of both servlets and JSP pages. In this mode, JSP pages are used for the presentation layer, and servlets for processing tasks. The servlet acts as a controller responsible for processing requests and creating any beans needed by the JSP page. The controller is also responsible for deciding to which JSP page to forward the request. The JSP page retrieves objects created by the servlet and extracts dynamic content for


Q.5 Describe the process of deactivating Individual Expression Language Statements with example.
Answer:- Deactivating the Expression Language  in an Entire Web Application:-
The JSP 2.0 expression language is automatically in web applications whose deployed descriptor refers to servlet specification version 2.3 or earlier.
On the other hand, the following  web.xml file is

Q.6 Describe Interpreting Relative URLs in the Destination Page.
Answer:- Several HTML elements, most notably the A element, may contain an attribute which takes a URL as value. URLs, Uniform Resource Locators, are addresses of Web documents. More generally, URLs can be used on the Web to refer to "objects" on the Web or in other information systems.
Absolute URLs: - The general syntax of absolute URLs is the following:
Scheme: //host:port/path/filename
Where:-
Scheme: - specifies the information system (technically speaking, the protocol) to be used to access the resource; possible values include the following:
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )


No comments:

Post a Comment

Note: only a member of this blog may post a comment.