how to intercept an http request in your custom servlet

public void doGet(HttpServletRequest request,
                      HttpServletResponse response) throws ServletException,
                                                           IOException {

        response.setHeader("Cache-Control", "Public";);
        response.setDateHeader("Expires",
                               System.currentTimeMillis() + 1 * 60 * 60 *
                               1000);

        String mimeType = request.getParameter("mimeType";);


        String url = request.getParameter("Url";);

    }

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Talk on ADF (Mail To: vijay.x.mohan@oracle.com)

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today