How to display jsp page on same location using javascript.I tried below ways,but no luck:
location.href='./start.do';
self.loca开发者_如何学编程tion.href='./start.do';
chaitu
Perhaps you mean: window.location.assign('start.do');
Otherwise I'm not clear on what the question is asking. I'm assuming you mean that you want to load a JSP page whose location is in the same folder as the current page (in which case, no need to use ./
in the location).
精彩评论