Hi,

I guess even RequestDisptacher doesn't seem to solve the problem here.
Please reply with whatever comments/ reasons/ suggestions you have.

regards
navjot singh


| Hi List,
|
| I want to build some kind of generic login system for my app and I am
| thinking on these lines
|
| Request Flow
| ==========
| test.jsp -> TestAction -> login.jsp -> LoginAction -> test.jsp
|                          |
|                  AuthCheck
|
| Problem
| ======
| test.jsp and login.jsp and under **different modules**. When
| TestAction.class return ActionForward for login.jsp,
| Struts generate an error "Action Not Found for /Login".  [ This is action
| defined in login.jsp]
|
| Which is genuinely right from Struts perspective as request is till under
| "test" module so
| it tried to find **/Login action mapping** from that **test-config.xml**
| file.
|
| + Have someone faced any problem like this before?
| + If you think there is better solution, pls let me know.
|
| + I am thinking of going RequestDisptacher way on top of Struts
| ActionForward. Will that be OK?
|    When AuthCheck returns __login failure__ , i can use request disptacher
| to forward request to login.jsp.
|
| regards
| Navjot Singh
|
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to