int leim = java.lang.Integer.parseInt(lei); 
         switch(leim){ 
case 1: out.print("<table  border='1' align='center' bordercolor='#7188e0'><tr bgcolor='d1d1ff'><Th width='100'>用户名</th><th width='180'>卡号</th><th width='112'>照片</th><th width='112'>卖场</th></tr>");break;

解决方案 »

  1.   

    报什么样的错误????
    int leim = java.lang.Integer.parseInt(lei); 
    这里有try catch吗???
      

  2.   

    int leim = java.lang.Integer.parseInt(lei); 
             switch(leim){ 
    case 1: out.print("<table  border='1' align='center' bordercolor='#7188e0'><tr bgcolor='d1d1ff'><Th width='100'>用户名</th><th width='180'>卡号</th><th width='112'>照片</th><th width='112'>卖场</th></tr>");break;
    case 2: out.print("<table  border='1' align='center' bordercolor='#7188e0'><tr bgcolor='d1d1ff'><Th width='100'>用户名</th><th width='180'>卡号</th><th width='112'>照片</th><th width='112'>卖场</th></tr>");break;
    }
    这样的么???