8000 Update J2EE基础知识.md · larryjiang/JavaGuide@c620628 · GitHub
[go: up one dir, main page]

Skip to content

Commit c620628

Browse files
committed
Update J2EE基础知识.md
1 parent 76fcc17 commit c620628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/J2EE基础知识.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Form标签里的method的属性为get时调用doGet(),为post时调用doPost()
9393

9494
**转发是服务器行为,重定向是客户端行为。**
9595

96-
**转发(Forword**
96+
**转发(Forward**
9797
通过RequestDispatcher对象的forward(HttpServletRequest request,HttpServletResponse response)方法实现的。RequestDispatcher可以通过HttpServletRequest 的getRequestDispatcher()方法获得。例如下面的代码就是跳转到login_success.jsp页面。
9898
```java
9999
request.getRequestDispatcher("login_success.jsp").forward(request, response);

0 commit comments

Comments
 (0)
0