File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes forward  same page without refreshing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "forward  same page without refreshing" Watch "forward  same page without refreshing" New topic

forward same page without refreshing

anvi kon
Ranch Hand

Joined: Jan 08, 2010
Posts: 133

I have two buttons save and finish.

I want to enable the button finish whenever I click the save button.


document.getElementById('finish').disabled = true;


document.getElementById('finish').disabled = false;

<forward name="success" path=""/>

Using the above I can enable it temporarly. But whenever I call the forward page it on action class

The Problem is page Refresh again and it shows disabled button for finish.

what could be the solution for this?


I agree. Here's the link:
subject: forward same page without refreshing
It's not a secret anymore!