posted 12 years ago
In struts 2 all the request's goes through PrepareAndExecute Filter, you can assume it as front controller. (You can write a custom interceptor to achieve this but in my opinion just override PrepareAndExecute filter. To be frank there is no difference between filters in servelts and interceptors in strtus2 and can call PrepareAndExecute Interceptor is global interceptor. check whether the user have accessibility to access the resource and make the decision. If you need any help post here. And take other input's too.
cheers'
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.