不用bean调用类 怎么不行啊
我的代码很简单 举个例子
如下:
***********hello.java***********
package hh;
public class hello{
public hello(){}
public void hi(){
System.out.print("hello");
}
}
*************hello.jsp*************
<%@ page import="hh.hello"%>
<html>
<body>
<%
hello h=new hello();
h.hi();
%>
</body>
</html>
怎么没有显示?而且没有任何错误提示,显示的就是一个空白页
怎么回事?