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

[475 byte] By [Chilakalaa] at [2007-10-3 8:10:41]
# 1

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,

jie2eea at 2007-7-15 3:15:06 > top of Java-index,Java Essentials,New To Java...