aspose file tools*
The moose likes Struts and the fly likes create server side alert in struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "create server side alert in struts 2" Watch "create server side alert in struts 2" New topic
Author

create server side alert in struts 2

lahiru pushpakumara
Greenhorn

Joined: Jan 08, 2012
Posts: 5
i'm developing struts 2 web application.

i want to give alert from server side. but i don't know how to create a alert and how to pass it to the application from action class.

if any one knows about it, please give me a solution.
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

Create a dummy jsp file to display the message.


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.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8927
    
    9

You want to alert the client when an event happens on the server? The only way to do that is to have the client keep polling the server.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
wood burning stoves
 
subject: create server side alert in struts 2