I am having a JSP page which will have a hidden button. The JSP is refreshed after every 3 seconds and whenever the JSp is refreshed the hidden button action method (processButtonPressedEvent)in the action class should be called automatically. Is this possible in struts? and if it is possible how to implement it.I mean how do I indicate the button pressed event as in real nobody is going to press that button but the JSP refeshing should call that method automatically.
How do I implement the above so that whenever the JSp is refreshed the action class method should be invoked automatically.
subject: JSP refresh calling action class method automatically