3 回答
TA贡献1860条经验 获得超9个赞
sample.jsp/WEB-INF
/WEB-INF.
samplejsp `-- WebContent |-- WEB-INF `-- sample.jsp
/WEB-INFdoGet()
request.getRequestDispatcher("/WEB-INF/sample.jsp").forward(request, response);另见:
TA贡献1851条经验 获得超5个赞
src |-html\|-jsp\
<form action="sample.jsp" method=get> <input type =submit value="submit"></form>
编辑
TA贡献1780条经验 获得超4个赞
sample.htmlhttp://localhost:8080/samplejsp/sample.htmlsample.jsphttp://localhost:8080/samplejsp/sample.jsp<form action>http://localhost:8080/samplejsp/sample.jspsample.jsp<form action="sample.jsp">
添加回答
举报
