GetDefaultClientTypeTag.java :  » Portal » Open-Portal » com » sun » portal » desktop » taglib » providerContext » Java Open Source

Java Open Source » Portal » Open Portal 
Open Portal » com » sun » portal » desktop » taglib » providerContext » GetDefaultClientTypeTag.java
/*
 * Copyright 2001 Sun Microsystems, Inc.  All rights reserved.
 * PROPRIETARY/CONFIDENTIAL.  Use of this product is subject to license terms.
 */
package com.sun.portal.desktop.taglib.providerContext;

import javax.servlet.jsp.JspException;

import com.sun.portal.providers.context.ProviderContext;

import com.sun.portal.desktop.context.ContextException;
import com.sun.portal.desktop.taglib.DesktopTaglibException;

public class GetDefaultClientTypeTag
    extends BaseProviderContextTagSupport
{
    public int doStartTag() throws JspException {
        ProviderContext pc = getCurrentProviderContext();
        String result = null;
  result = pc.getDefaultClientType();
        processResult( result );
        return SKIP_BODY;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.