|
|
|
using filter with Struts
|
|||
|---|---|---|---|
|
#18+
Народ!Помогите разобраться! мне нужно сделать фильтр на страницу welcome.jsp, когда в IExplorer набираю url http://localhost:8080/Project/pages/welcome.jsp в struts-config.xml Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. Как мне сделать, чтобы фильтр срабатывал , когда ввожу строку в эксплорере http://localhost:8080/Project/pages/welcome.jsp ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 05.04.2006, 23:34 |
|
||
|
using filter with Struts
|
|||
|---|---|---|---|
|
#18+
RTFM или Servlets Specification 2.4: web-app_2_4.xsd The dispatcher has four legal values: FORWARD, REQUEST, INCLUDE, and ERROR. A value of FORWARD means the Filter will be applied under RequestDispatcher.forward() calls. A value of REQUEST means the Filter will be applied under ordinary client calls to the path or servlet. A value of INCLUDE means the Filter will be applied under RequestDispatcher.include() calls. A value of ERROR means the Filter will be applied under the error page mechanism. The absence of any dispatcher elements in a filter-mapping indicates a default of applying filters only under ordinary client calls to the path or servlet. У тебя три варианта. Либо: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.04.2006, 00:09 |
|
||
|
|

start [/forum/topic.php?fid=59&fpage=737&tid=2149688]: |
0ms |
get settings: |
8ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
47ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
28ms |
get tp. blocked users: |
1ms |
| others: | 211ms |
| total: | 328ms |

| 0 / 0 |
