public int doStartTag()
        throws JspException
    {
        if((prefix == null || prefix.length() == 0) && (auths == null || auths.length() == 0) && (noauths == null || noauths.length() == 0))
            return 0;
        if(prefix == null || prefix.length() <= 0)
            break MISSING_BLOCK_LABEL_102;
        return authBo.hasJSPAuth(super.pageContext, prefix) ? 1 : 0;
        Exception e;
        e;
        e.printStackTrace();
        return 0;
        List userAuths;
        int i;
        if(auths == null || auths.length() <= 0)
            break MISSING_BLOCK_LABEL_185;
        userAuths = getAuthsList(auths, "or");
        i = 0;
_L3:
        if(i >= userAuths.size()) goto _L2; else goto _L1
_L1:
        if(authBo.hasJSPAuth(super.pageContext, (UsersAuthority)userAuths.get(i)))
            return 1;
        continue; /* Loop/switch isn't completed */
        Exception e;
        e;
        e.printStackTrace();
        i++;
          goto _L3
_L2:
        return 0;
        if(noauths != null && noauths.length() > 0)
        {
            userAuths = getAuthsList(noauths, "and");
            int hasAuthsSize = 0;
            for(int i = 0; i < userAuths.size(); i++)
                try
                {
                    if(!authBo.hasJSPAuth(super.pageContext, (UsersAuthority)userAuths.get(i)))
                        hasAuthsSize++;
                }
                catch(Exception e)
                {
                    e.printStackTrace();
                }            return hasAuthsSize <= 0 || hasAuthsSize != userAuths.size() ? 0 : 1;
        } else
        {
            return 1;
        }
    }以上是反编译出来的代码,请各位帮忙还原一下以上代码,不胜感激.

解决方案 »

  1.   

    此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
    楼主【alexsteven】截止到2008-07-07 18:00:02的历史汇总数据(不包括此帖):
    发帖的总数量:1                        发帖的总分数:20                       
    结贴的总数量:0                        结贴的总分数:0                        
    无满意结贴数:0                        无满意结贴分:0                        
    未结的帖子数:1                        未结的总分数:20                       
    结贴的百分比:0.00  %               结分的百分比:0.00  %                  
    无满意结贴率:---------------------无满意结分率:---------------------
    如何结贴请参考这里:http://topic.csdn.net/u/20080501/09/ef7ba1b3-6466-49f6-9d92-36fe6d471dd1.html