
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
05.04.2006, 23:34
|
|||
|---|---|---|---|
|
|||
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 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
06.04.2006, 00:09
|
|||
|---|---|---|---|
|
|||
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. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=59&mobile=1&tid=2149688]: |
0ms |
get settings: |
7ms |
get forum list: |
19ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
77ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
31ms |
get tp. blocked users: |
1ms |
| others: | 234ms |
| total: | 391ms |

| 0 / 0 |
