Exforsys
+ Reply to Thread
Results 1 to 3 of 3

Advantages Needed

This is a discussion on Advantages Needed within the Java forums, part of the Programming Talk category; I want to know the highlights or advantages of response Object in JSP. Can someone mention this in brief....

  1. #1
    Angela is offline Member Array
    Join Date
    Apr 2006
    Answers
    85

    Advantages Needed

    I want to know the highlights or advantages of response Object in JSP. Can someone mention this in brief.


  2. #2
    Allan is offline Member Array
    Join Date
    May 2006
    Answers
    40
    The main advantage or usage of response Object in JSP it helps in the handling of the output of the client and is mostly used by cookies. It is also used with HTTP Headers.


  3. #3
    Sandhya.Kishannag is offline Member Array
    Join Date
    Feb 2012
    Answers
    66
    An instance of a class that implements the javax.servlet.http.HttpServletResponse interface is a response object.It represents the response to be made to the client, and it makes the following methods available.

    addDateHeader() adds a response header containing the specified header name and the number of milliseconds .
    addHeader() adds a response header with the specified name and value.
    addCookie() adds the specified cookie to the response.
    encodeRedirectURL() encodes the specified URL or returns it unchanged if encoding isn't required.
    These are some methods avaliable and there are many more.


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...