日期:2014-05-17 浏览次数:20958 次
public String findQuestionByName(String name){
Member members = (Member)hibernateTemplate.find("from Member m where m.name = '" + name + "'");
String question = members.getQuestion() ;
return question ;
}
public String findQuestionByName(String name) {
return memberDao.findQuestionByName(name);
}
public String findQuestionByName(String name){
return memberManager.findQuestionByName(name);
}
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page language="java" import="org.lxh.ShangCheng.action.MemberAction" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String name = (String)request.getParameter("info.name");
String question = new MemberAction().findQuestionByName(name);<!--在这一句就出现了问题
org.apache.jasper.JasperException: An exception occurred processing JSP page /findKeyTwo.jsp at line 7-->
%>