我在servlet中有jsp调用方法。我试图使用System.out.println()证明我的jsp成功进入了servlet。我面临的问题是我无法获取System.out.println()意味着我的jsp无法进入servlet。请为此提供一些建议。
JSP:
<% SendPayment processPayment = new SendPayement();
success = processPayment.sendPayment( payMerInfoBean.getdbCon(), payOrderBean, payOrderParaBean, payMerInfoBean);%>
Servlet:
public boolean sendPayment(Connection con, B2cOrderBean payOrderBean,
B2cOrderParaBean payOrderParaBean, B2cMerInfoBean payMerInfoBean, B2cMcpOrderBean payMcpOrderBean, B2cEPayAlertBean ePayAlertBean) {
System.out.println("In SendPayment");
return false;
}