• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

forward same page without refreshing

 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have two buttons save and finish.

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

page1.jsp.

<script>
InitialLoad()
{
document.getElementById('finish').disabled = true;

}

save(){
document.getElementById('finish').disabled = false;
}
</script>



strutsconfig.xml
<forward name="success" path="atre.dodUpgrade.show.page1"/>



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?

Thanks



reply
    Bookmark Topic Watch Topic
  • New Topic