日期:2014-05-17  浏览次数:20661 次

jsp中是怎么使用java包的单例的

1.Single.getInstance().getMethod();
2.Single var =Single.getInstance();
var.getMethod();

以上两个方法在JSP都不可以,但是在java中没有错误提示。能够正常运行。在jsp中提示的是
server encountered an internal error()that prevented it from fulfilling the request.

------解决方案--------------------
把jsp页面都贴出来,把要求也说的具体一些。