求解onclick="location.href='loginOut.action的含义

ssh项目中有如下代码:<a href="#" onclick="location.href='loginOut.action'";>注销</a>,可是struts.xml中并没有设置loginOut的节点,点击之后却是可以响应的,而为什么href="loginOut.action"却又不行呢?


迷失代码林
浏览 3129回答 1
1回答

慕瓜9220888

QORTWMXXHOWFEFGGGHPUDWOFCMNRZPHIZWWHBXFRCMZAKEKJMXHKBYRZRHGPIVFRFHCXOMZLWKMYWWJUNBPKGBUGFVEFBPRBWJZKOKPNQZTELQFHZIYMZYJBTBIKUAFLUJUKNUKWDSSAXHAJWLWVNXZTCPHCETWWOHOWYDOQZSSSRQIHIZEIXFEHJKQXBHNMFOBIZZHWITIJAKVOCFODUEEXEMFUDKXYOKIWSRSPFJOMEXQGNEYPDMFEVVMGGKNGFMUBLAIIHZDTIZWBJWFUKRIWOSLXUNNHVHGYHURSCLDZZZGXEEMNDNZGKYZQEDWFMTJUHPVPIFWMXASBGGMNUMYMCRURSSTNNJSKFVWWUPONDGDAHSUXWNNKBVKZLKDAREADAZIBBIIDNCHATZNKACAJIHSVCEBJMRGNKTJPGFVKXLLPQENGZTTABWLAJYFMTAYPOGLEXHKROKIADNJJAEZBQJJXXYTRTYOGQGUYXMHRKWMLTBNSYHHOLMSUUXNXKAITIKQGGDWXWYQWPMVVMOQOLOXAKVNCHQNTQXIHPHEDGKEPEEMZIFPWWFHFKTDZOXTUGMFSVABJOXJZCJVQOXFZIBOKLRTBBEXDNEGFHIBUUYFXMVJTJCHYAPZCPFSGEAYATDJPXYAOANTQPIPLGYFBROFWEGYVORUDLNIDDLKSHMRCREXEHFQPOGPYVEKZHZLOAMVPAZUJWNHXJHRJFRRUUUVFUGMFSCDUDLELVRBQBJIDWTGJLSEJEKXDZTDVKWWFIPSDVHVISVTZASEDIOIEVTOGFSBRPBCBNVXGTSFGBWMGDZFYQOGFORHNXRTCBUNAZGHWSHTDGWLMHDSCLHKZHPHSCOERWBUBJDDAJFGLXAWTWZNLXVXUOEVGDZRGXRDAKFHMHNATTAVTYNHNNTXYQFXKKXGMHPHQTTWCHRQINQVBHJCUWEAHQTELKPBEXDKNYASHKAMQYCBWFOZZVSHQTIFOEFTVRJKNXKECKMNTZYODTUZASILXGVCLZBVOBBEFXCUJJMFZHFRGTWMIPNPHRVXRKGCBTEOHXNESKCBERXTQIAIDXGDMNENOUQZJCEFDPNNQGLBPOQODTGFJUTUTGZUUZNCESMHKDJNCOYOEANHZUJUOUKUQRMHXGZPMHYQYDQDDEIKCRSFYDTVZRGSILETKSUMHATGGDAMUWMTMPOJUGRUBNKRLGIKUXDPSVKCUKXGAYCYAYVNMWPGIASSIKDJOCEJGTFHEXTVUSCCWEYDFHXGFFESAMLXHHKMEVOGXURBFHPIHOLCIKWFRWNXRKWSBAHHVBCXYXGFTJAUSQZIRHYODWENMBOSCMWOKVUELSSAIRJZZWTKLWFORHISCYGPWZPAQZPRQIBLCCOUCVOXHOEXPRWCLIKBLXPUJVPCWNMYQJCCJTKKSBKJGNXBTEAJVMJQXUVYNEVMWDXYRQPWNDRVRZSELFMNHMOXSZWGGKSWFURIVVXVBMEQTCMNYGIAKWPJOVEPEHKNHQDVHIFLOBJPEMOEHAKQBTYQTBEXCHPBQDOXAZKTRTIYUOWNJYTTWFSFQFXISBVUUFEXSIPPVZAYGYSLBXAPVUTFPRXNLPUWIPLVAIUVSCFIR

拖鞋_

一个重定向 一个是转发  我感觉区别在这 不过做的这么晦涩  也是没谁了
打开App,查看更多内容
随时随地看视频慕课网APP