I have a java-struts web application where i have to implement a mechanism of finding whether the request which comes from client is valid?
How to validate each request in java web application?
suppose a request comes to access a particular page than i have to check whether the request is from the client who is logged in with the system.
Please help to achieve this.
Regards
You can write a servlet filter. You can read more about the same here
Filters can perform many different types of functions.
locale.
responses to more that one type of client.