struts
In the Address bar i am writing a url as follows
http://localhost:8080/lms/get-manager-violations.do
get-manager-violations.do == is nothing but a jsp page
if i am not logged from login page then it goes directly to login page with out entering in to get-manager-violations.do(manager.jsp)
by checking url only how it redirects to login page with out entering in to any Action form and Action classes
Please Help Me
thanks
hi :-)
check the custom request processor of struts :-)
search google for "custom request processor struts"
from one of the results:
RequestProcessor: Create your own RequestProcessor if you want to execute some business logic at a particular point during the request-processing phase. For example, you might extend RequestProcessor to check that the user is logged in and he has one of the roles to execute a particular action before executing every request.
regards,