I did little RND on interceptors but the problem to access my application i need to give the full URL. I mean if i give
http://localhost:10000/sandeep/sandy/Login.jsp only then i am able to access my application since it is pointing directly to the Jsp page not going to any action class file i am not able to keep a track of it .
please tell me ways in which i can keep a count the no of hits my URL is having per day
In servlets we can achieve this using filters in struts2 use interceptor.
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.
posted 8 years ago
thank you for your reply
Actaully the application Url as you can see hits driectly the jsp page instead of some action class so in this situation can you tell me how to use interceptors.
As far as i know interceptors can only be used before an action class is called or after an action class is called but in my application there is no action class called when the url is hit