01: /*
02: * Copyright 2002 Sun Microsystems, Inc. All
03: * rights reserved. Use of this product is subject
04: * to license terms. Federal Acquisitions:
05: * Commercial Software -- Government Users
06: * Subject to Standard License Terms and
07: * Conditions.
08: *
09: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
10: * are trademarks or registered trademarks of Sun Microsystems,
11: * Inc. in the United States and other countries.
12: */
13:
14: package com.sun.portal.struts.wrapper;
15:
16: import org.apache.struts.wrapper.StrutsServletResponse;
17:
18: import javax.servlet.http.HttpServletResponse;
19:
20: import javax.portlet.PortletRequest;
21: import javax.portlet.ActionResponse;
22: import javax.portlet.RenderResponse;
23:
24: public class PSServletResponse extends StrutsServletResponse {
25:
26: public PSServletResponse(PortletRequest req, ActionResponse res) {
27: super (
28: (HttpServletResponse) req
29: .getAttribute("javax.portlet.portletc.httpServletResponse"),
30: req, res);
31: }
32:
33: public PSServletResponse(PortletRequest req, RenderResponse res) {
34: super (
35: (HttpServletResponse) req
36: .getAttribute("javax.portlet.portletc.httpServletResponse"),
37: req, res);
38: }
39: }
|