ActionEvent / EventListener in a web app?

R

rschmid-google

I am facing a strange situation. I have been using AJaX and I have
created a situation where it seems the best solution would be to add
ActionEvents and EventListeners to some of my servlets.

Good Idea? Bad Idea? Harmless?

The very idea of this seems to violate the stateless nature of web
applications but if it works.... ?

Are the their any reasons this shouldn't work or shouldn't be done?
 
D

Daniel Pitts

I am facing a strange situation. I have been using AJaX and I have
created a situation where it seems the best solution would be to add
ActionEvents and EventListeners to some of my servlets.

Good Idea? Bad Idea? Harmless?

The very idea of this seems to violate the stateless nature of web
applications but if it works.... ?

Are the their any reasons this shouldn't work or shouldn't be done?

I suggest looking into Spring Web Flow. It helps you to create a
meaningful stateful conversation between users and your service.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top