Discussions

Web tier: servlets, JSP, Web frameworks: Setting Response Headers

  1. Setting Response Headers (2 messages)

    Is there any way by which we can set custom response headers for Web Applications in Weblogic?

    Threaded Messages (2)

  2. Setting Response Headers[ Go to top ]

    Why not use one of the following ?
    response.addHeader(java.lang.String name, java.lang.String value)
    response.addIntHeader(java.lang.String name, int value)
    response.setDateHeader(java.lang.String name, long date)
    response.setHeader(java.lang.String name, java.lang.String value)
    response.setIntHeader(java.lang.String name, int value)

    All of them are in the spec
  3. Details[ Go to top ]

    response.addHeader but I want to set it for the whole application so that any request that is made to the weblogic server has this customised responseheader ..I want to set it in Weblogic Server not in any specific file..