Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

create server side alert in struts 2

 
lahiru pushpakumara
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Create a dummy jsp file to display the message.
 
Joe Ess
Bartender
Pie
Posts: 9258
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic