日期:2014-05-18  浏览次数:20586 次

请高手帮我看看这个错误!
我在学习jsp的过程中,出现了这样一个错误.请问是什么原因造成的?怎么解决呢?
我用的tomcatt+myeclipse.
The   server   encountered   an   internal   error   ()   that   prevented   it   from   fulfilling   this   request.


------解决方案--------------------
12: String doc=new String((request.getParameter( "ribao ")).getBytes( "ISO-8859-1 "));


这行代码出问题,对空对象操作.好好看看request.getParameter( "ribao "))里面的ribao变量,到底有没有定义,有没有赋值.
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.aiyiweb.com/java-web/317.html