aspose file tools*
The moose likes JSP and the fly likes need help - urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "need help - urgent" Watch "need help - urgent" New topic
Author

need help - urgent

harish pathak
Ranch Hand

Joined: Dec 17, 2005
Posts: 51
Hi All,

I have assigned a module.
I have a form and there are seven field.
If user fill up only 2 field and closes the window by clicking the cross button then I want to track the record that user filled up only 2 field and left the form.
Its a user tracking system and we want to track the record where the user left the form

I need help in this way.

Please reply soon.

Thanks
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

harish pathak,
Welcome to JavaRanch!

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here. In particular, please see UseAMeaningfulSubjectLine
and
EaseUp


Many people make a point of skipping threads with "urgent" in the subject line. A well written subject line will attract people who have a particular interest in or who are very familiar with your problem.

You can fix it if you click the edit link in your first post.
Again, welcome to JavaRanch and good luck with your question.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

The only way to do something like this would be to use Ajax, making little requests back to the server in the background whenever anything changes. Using plain HTML forms, everything is based on the request/response model, and the user would have to do something to submit the form (such as hit the 'Submit' button, etc.) before any information goes to the server.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
harish pathak
Ranch Hand

Joined: Dec 17, 2005
Posts: 51
Thanks for your reply.

>> The only way to do something like this would be to use Ajax

So can I use/implement Ajax if user closes the window by clicking the cross button

any idea/code available

Thanks

harish pathak
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by harish pathak:
Thanks for your reply.

>> The only way to do something like this would be to use Ajax

So can I use/implement Ajax if user closes the window by clicking the cross button

any idea/code available

Thanks

harish pathak




There's not much of a guarantee that the call will be made if the user closes the browser or goes to a different page.
A better approach might be to make the ajax call every time the user exits a field this way you already know which fields have been filled in before the browser crashes or is closed.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need help - urgent
 
Similar Threads
NX: cacheless design to keep things simple?
B&S: Exception handling in book method in adapter
Valid when
html navigation using arrows
dynamically displaying the form