File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Event Handling in Struts 1.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Event Handling in Struts 1.3" Watch "Event Handling in Struts 1.3" New topic

Event Handling in Struts 1.3

Jon Greenwood

Joined: Mar 13, 2011
Posts: 12

I'm new to Struts and am looking for help with client-side event handling.

I have a .JSP which is associated with an Action. That Action queries a DataSource. In a fat client like Swing I would be able to get a handle to Component and register a listener to, for example, change the cursor to an hourglass whilst processing. With Struts can I get a handle back to the .JSP to set the style="cursor:progress"?

Alternatively is there a way to do this in Javascript?

Thanks in advance
I agree. Here's the link:
subject: Event Handling in Struts 1.3
Similar Threads
Is FacesContext an object for entire aplication, or it's instantiated for each jsf page?
ajax and struts action class
Exceptional Handling in Struts
Calling onload event twice
How to maintain SFSB ShoppingCart reference