java的代码
protected Productures_table temp( HttpServletRequest request,
HttpServletResponse response) throws Exception {
jsp的代码(a.jsp):<jsp:useBean id="Scase2" class="com.designa.center.Products_show" scope="page"/>
<%
...
......
.......
cc = Scase2.temp(request,response);
%>本意是b.jsp的requset与response传递到a.jsp但总是报错,以前都可以这样的现在为何会出错呢?注意:sun.tools.javac.Main 已过时。
H:\MB\web\WEB-INF\work\_cn\_product_0show__jsp.java:49: 在 class com.designa.center.Products_show
中未找到与 temp(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
匹配的方法。
cc = Scase2.temp(request,response);
^
1 个错误, 1 个警告
protected Productures_table temp( HttpServletRequest request,
HttpServletResponse response) throws Exception {
jsp的代码(a.jsp):<jsp:useBean id="Scase2" class="com.designa.center.Products_show" scope="page"/>
<%
...
......
.......
cc = Scase2.temp(request,response);
%>本意是b.jsp的requset与response传递到a.jsp但总是报错,以前都可以这样的现在为何会出错呢?注意:sun.tools.javac.Main 已过时。
H:\MB\web\WEB-INF\work\_cn\_product_0show__jsp.java:49: 在 class com.designa.center.Products_show
中未找到与 temp(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
匹配的方法。
cc = Scase2.temp(request,response);
^
1 个错误, 1 个警告
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货