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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top