怎么会不行???
嘿嘿!~~~~
看看你代码错在那里!!!

解决方案 »

  1.   

    <%!
    public String TranStrType(String str) throws Exception
    {
    byte[] _tempByte=str.getBytes("ISO8859-1");
    String _tempStr=new String(_tempByte);
    return _tempStr;
    }
    %>
    <%
    java.util.Enumeration e = mySmartUpload.getRequest().getParameterNames();
    String _FType=null;
    while (e.hasMoreElements()) {
    String key = (String)e.nextElement();
            String[] values = mySmartUpload.getRequest().getParameterValues(key);
    _FType=TranStrType(values[0]);
             
            //out.println(key+"="+values[0]+"<br>");
    }
    %>