01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.desktop.taglib.container.single;
06:
07: import javax.servlet.jsp.JspException;
08: import com.sun.portal.desktop.taglib.BaseValidatorTagSupport;
09: import com.sun.portal.providers.containers.jsp.single.JSPSingleContainerProvider;
10:
11: public class SingleContainerProviderTag extends BaseValidatorTagSupport {
12: public int doStartTag() throws JspException {
13: try {
14: JSPSingleContainerProvider scp = (JSPSingleContainerProvider) getCurrentObj();
15: } catch (ClassCastException e) {
16: return processInvalidType();
17: }
18: return EVAL_BODY_INCLUDE;
19: }
20:
21: public int doEndTag() throws JspException {
22: // do nothing
23: return EVAL_PAGE;
24: }
25: }
|