jspweb应用的问题
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.// Jad home page: http://kpdus.
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: NavigationBiz.java
package com.nz.biz.tools;
import com.nz.biz.basicDate.AttrBiz;
import java.util.List;
public class NavigationBiz
{
public NavigationBiz()
{
}
public static String getHeaderString(String basePathheader, String pathheader, Integer roleids)
{
AttrBiz attbiz = new AttrBiz();
List attlist = attbiz.getAttList(12);
StringBuffer bf = new StringBuffer();
String str = "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\" width=\"99%\"><tr><td height=\"20\" align=\"right\"><font color=\"#888888\">版权所有 </font></td></tr></table>";
bf.append(str);
String str1 = (new StringBuilder("<div id=\"nav_menus\"><span style=\"float: left;\"><ul><li class=\"menu2\" onMouseOver=\"this.className='menu1'\" onMouseOut=\"this.className='menu2'\"><a href=\"")).append(basePathheader).append("ProjectServlet?action=noApplyList\" >未申请项目</a> </li>").append("<li class=\"menu2\" onMouseOver=\"this.className='menu1'\" onMouseOut=\"this.className='menu2'\">").append("<a href=\"").append(basePathheader).append("ProjectServlet?action=nowMonApplyList\">当月已申请项目</a>").append("</li>").append("<li class=\"menu2\" onMouseOver=\"this.className='menu1'\" onMouseOut=\"this.className='menu2'\">").append("<a href=\"").append(basePathheader).append("ProjectServlet?action=confirmList\">发放审核项目</a></li>").append("<li class=\"menu2\" onMouseOver=\"this.className='menu1'\" onMouseOut=\"this.className='menu2'\">").append("<a href=\"").append(basePathheader).append("ProjectServlet?action=payamountList\">已结算项目</a></li>").toString();
bf.append(str1);
if (pathheader != null && pathheader.equals("/NZSoft"))
if (roleids.intValue() == 14 || roleids.intValue() == 69 || roleids.intValue() == 70)
{
String str4 = (new StringBuilder("<li class=\"menu2\" onMouseOver=\"this.className='menu1'\" onMouseOut=\"this.className='menu2'\"><a href=\"")).append(basePathheader).append("index.jsp\">系统管理</a></li>").toString();
bf.append(str4);
} else
{
String strA = (new StringBuilder("<li class=\"menu2\" onMouseOver=\"this.className='menu1'\" onMouseOut=\"this.className='menu2'\"><a href=\"")).append(basePathheader).append("CustomDesignServlet?action=list\">客户信息</a></li>").append("<li class=\"menu2\" onMouseOver=\"this.className='menu1'\" onMouseOut=\"this.className='menu2'\">").append("<a href=\"").append(basePathheader).append("CompRegulationsServlet?action=forEmployeer¶m=public\">公司制度</a></li>").toString();
bf.append(strA);
}
String str5 = (new StringBuilder("<li class=\"menu2\" onMouseOver=\"this.className='menu1'\" onMouseOut=\"this.className='menu2'\"><a href=\"")).append(basePathheader).append("UserInfoServlet?action=addressList\">员工通讯录</a></li>").append("<li class=\"menu2\" onMouseOver=\"this.className='menu1'\" onMouseOut=\"this.className='menu2'\">").append("<a href=\"").append(basePathheader).append("LinkUsServlet\">联系我们</a></li>").toString();
bf.append(str5);
bf.append("</ul></span></div>");
String HeaderJspfString = bf.toString();
return HeaderJspfString;
}
}
以上代码 如何将蓝色高亮段提取出来,此为java代码,有能编译的吗?