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.StrutsServletContext;
17:
18: import javax.portlet.PortletContext;
19: import javax.servlet.ServletContext;
20:
21: public class PSServletContext extends StrutsServletContext {
22:
23: public PSServletContext(PortletContext context) {
24: super ((ServletContext) context
25: .getAttribute("javax.portlet.servletContext"), context);
26: }
27: }
|