Search code examples
javastruts

refresh a part of a page using struts without using ajax


Guys, is it possible to refresh a part of a page in struts without using ajax. kindly let me know.


Solution

  • You can add a JavaScript function to the page which loads a string from somewhere and assigns it to innerHtml of some element.

    To invoke the function, either use a timer or call it when the user clicks on a button or a link.

    If you need a more specific answer, ask a more specific question, please.