Of course, the yellow results from the JSP tags and code, rather than any real error in the page.
当然,黄色内容来自于JSP标记和代码,而不是页面出现了什么真正的错误。
Because this code is only a sample we don't perform any real error processing, but we do implement a dummy exception handler to allow the code to compile.
由于此代码仅仅作为样例使用,我们没有执行任何实际的错误处理,但是我们实现了一个虚构的异常处理程序,从而完成代码的编译。
To find the real error, it might be useful to print the value of ratio, which turns out to be 0.
要找到真正的错误,就要输出一下ratio的值来看一下,结果发现是0了。
To find the real error, it might be useful to print the value of ratio, which turns out to be 0.
要找到真正的错误,就要输出一下ratio的值来看一下,结果发现是0了。
应用推荐