-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 031bfc1
Showing
1,969 changed files
with
39,990 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
本j2ee项目的大概处理流程 | ||
|
||
1,访问地址localhost/foreHome | ||
|
||
2,会先后被EncodingFilterFore,AuthFilter处理编码,登录权限过滤 | ||
|
||
3,再到ForeServletFilter,获取fore后面访问的方法Home,转发请求到ForeServlet | ||
|
||
4,请求被ForeServlet父类BaseForeServlet的service()方法处理 | ||
|
||
5,service()方法中通过反射机制调用对应方法名的ForeServlet方法进行处理请求,并等待方法返回的字符串 | ||
|
||
6,ForeServlet相应方法完成请求,并返回字符串给上一步的service()方法中 | ||
|
||
7,service()方法根据字符串进行访问jsp视图或进行跳转,根据跳转路径再次从2开始处理。 |
Oops, something went wrong.