大家来找错啊!!!!!!!!!!!!!!!!!!
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac] D:\chofo\tomcat-4.1.24\work\Standalone\localhost\sodachofo\t_career\add_do_jsp.java:126: '] ' expected
[javac] String play_id[i] = new String(request.getParameter( "column_play_id "+i).getBytes( "8859_1 "));
[javac] ^
[javac] D:\chofo\tomcat-4.1.24\work\Standalone\localhost\sodachofo\t_career\add_do_jsp.java:136: '] ' expected
[javac] String club_id[i] = new String(request.getParameter( "column_club_id "+i).getBytes( "8859_1 "));
[javac] ^
[javac] D:\chofo\tomcat-4.1.24\work\Standalone\localhost\sodachofo\t_career\add_do_jsp.java:157: '] ' expected
[javac] String play_id[i] = new String(request.getParameter( "column_play_id "+i).getBytes( "8859_1 "));
[javac] ^
[javac] D:\chofo\tomcat-4.1.24\work\Standalone\localhost\sodachofo\t_career\add_do_jsp.java:169: '] ' expected
[javac] String club_id[i] = new String(request.getParameter( "column_club_id "+i).getBytes( "8859_1 "));
[javac] ^
[javac] 4 errors
以上是提示的错误,可是我觉得我写的没有错啊,请高手指点迷津!!
[解决办法]
把这个夹子删了D:\chofo\tomcat-4.1.24,然后再启tomcat编绎一下看看
------解决方案--------------------
String club_id[i]
怎么会有这种写法?club_id是一个String[]吗?是的话就把String 去掉
[解决办法]
String play_id[i] = new String(request.getParameter( "column_play_id "+i).getBytes( "8859_1 "))
是不是复选框啊
改成
String play_id[i] = new String(request.getParameterValues( "column_play_id "+i).getBytes( "8859_1 "))
我的异常网推荐解决方案:org.apache.jasper.JasperException: Unable to compile class,http://www.myexception.cn/j2ee/2308.html