开发者

Displaying jsp page on same location using javascript

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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜