I am having a dynamic content in my jsp pages that has to be refreshed once my form is submitted.Form submission is not done via ajax.I have tried with data-cache=never,rel=开发者_如何学JAVAexternal. They ddnt work for me.
Use
location.reload(true);
in javascript.
$('#my_form').submit(function(){
// After everything else...
window.location.reload();
});
精彩评论