aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes page refresh problem 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 » Engineering » HTML, CSS and JavaScript
Bookmark "page refresh problem" Watch "page refresh problem" New topic
Author

page refresh problem

preethi Ayyappan
Ranch Hand

Joined: Oct 04, 2007
Posts: 518
Hi,

I need to refresh a page without page loading.For that i am using the following ajax
code in a html page.

index.html:-


Here I am calling the intermediate.jsp,which checks the database,whether the callerstatus
is 0 0r 1.If the callerstatus is 0,Instead of closing the index.html and opens the intermediate.jsp,the page remains in index.html which displays a pause
and logout button which is given in the intermediate.jsp and if the calleridstatus is 1,the page displays the customer's details without closing the index.html.
Now the problem is ,if i want to edit the customer details displaying in the textbox,i am unable
to edit the details as the index.html is not closed makes the page to refresh.

please assist me to solve this problem.

Thanks.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Well we are left out in the dark how the user edits the details since your code does not show a form or anything.

Eric
preethi Ayyappan
Ranch Hand

Joined: Oct 04, 2007
Posts: 518
Hi,
Thanks for your reply.Actually the above code refreshes the Intermediate.jsp which checks the database ang if the field callerstatus in the table is 1,the page will be redirected to the servlet Crmpopup.java which displays a form regarding the customer details.I am posting the code which shows the form:

I am unable to edit the details here as the index.html is refreshing.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: page refresh problem