JBilder 把第一个页面method="POST"该成"GET"出这错No help data files The online help files could not be located. The reasons for this include: You have not yet installed the Documentation pack. The Documentation pack can be downloaded from http://info.borland.com/downloads/jbuilder/addons.html. One or more of the data files used by the Help Viewer have been removed or corrupted. The online documentation has been moved since you installed JBuilder. URL:
ServletException, IOException {
response.setContentType(CONTENT_TYPE);
String str=request.getParameter("years");
String str1=gy.getyear(str);
request.setAttribute("str1",str1);
request.getRequestDispatcher("/jspyers.jsp").forward(request,response);
}request.getRequestDispatcher("/jspyers.jsp").forward(request,response);怎么就跳不过去呢?
或者你的路径正确吗
有什么错吗
把第一个页面method="POST"该成"GET"出这错No help data files
The online help files could not be located. The reasons for this include: You have not yet installed the Documentation pack. The Documentation pack can be downloaded from http://info.borland.com/downloads/jbuilder/addons.html. One or more of the data files used by the Help Viewer have been removed or corrupted. The online documentation has been moved since you installed JBuilder. URL:
1,路径要确保正确
2,doPost方法中调用一下doGet方法
ServletException, IOException { doGet(request,response);
}
重定向:request.sendRedirect("你的页面");
转发请求:request.getRequestDispatcher("你要跳到的页面").forward(request,response);
2 根据你的需求,当然是 forward了,因为你要传服务器端的参数过去
http://mqbuild.com/blogMAC OS X,Core Java,Linux真正的深入浅出
你在web.xml中servlet的路径是什么
注意下你的 文件的 相对 路径 就么的问题了
估计这些你都会,跳转不过去的话,应该是你的逻辑上有什么问题吧!
跳转路径不要加“/”