2Fi1ljUidb0gosyNwxHC5SEgW

2Fi1ljUidb0gosyNwxHC5SEgW

本文介绍了在asp.net中提交表单时收到414错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我想做谷歌搜索,为此我写了代码为 <%@ Master语言=C#AutoEventWireup =trueCodeFile =MasterPage.master.csViewStateMode =DisabledEnableViewState =falseInherits =MasterPage%> < form id =form1name =myformrunat =servermethod =获取action =http://www.google.com/search> < input type =textrunat =serverid = fieldname =qsize =25class =Normal_Txtstyle =outline:0; color:#d2d2d2; width:140px; height:30px; background-color:Transparent; border-color:Transparent; border-style:none; border-width:0px maxlength =255value =Google Site Searchonfocus =if(this.value == this.defaultValue)this.value =''; this .style.color = '#d2d2d2'; önblur=if(this.value =='')this.value = this.defaultValue;/> < input type =hiddenname =sitesearchvalue =http://data-pointonline.com//> $(function(){ $(#field)。keyup (function(event){ if(event.which == 13){ // document.myform.submit(); $(form)。submit(); } }); }); 我没有提交按钮,为什么我写了jquery代码来汇总表单。 我收到错误 414.这是一个错误。 请求的URL /搜索...太大而无法处理。这就是我们所知道的。 网址如下 http://www.google.com/search?ContentPlaceHolder1_TabContainer1_ClientState=%7B %22ActiveTabIndex%22%3A0%2C%22TabState%22%3A%5Btrue%2Ctrue%5D%7D&安培; __ EVENTTARGET =安培; __ EVENTARGUMENT =安培; __ VIEWSTATE = A64VnghwX7ariylFiRunhbMz1ff6JyL%2FOdfovbBE8tXJkIWp%2F7odzVi8ASIW3sztQ0j%2Fi1ljUidb0gosyNwxHC5SEgW%2FU5jOmQHI4R3ipU2nekqmx3Q0JdTYXnIdpbs%2B74Qio2XOUd8SgwqJpolQhTDbOgDlMk5THsRFBZJpTYHxqIrxNZRvna8Vplg0L5V9MRgRsIxF8bgGSQegiQ8qCk%2F6Hp6%2BF2xvNKLfAT1BblYEduEm%2F2G8dGoIkg3iWj1PvFfzToYtWOglQGzdotWULOQUvUt1xfu3fmU114LR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4z4Osoky6Q5%2FZpxUSUdybCBH26TRDaQMT%2BfdVrSHpLicW4aXK%2FvumZjRnPROfUD% 2FcQc2TzUaSPRccrTzl%2FSCTxRd0s2AwCraXvqI93A%2FNZOL7be9jrgKVei6KT9Aj0Qp9hyaHCDmL0%2BLkoFHv5Ixkfo8EWeq5ZwCXrJiRfTNUbGkz1XhqeOCGLZl9QXfIapu4CrbTxi4ua5LFfI7JmbA0V8a4LX8V3sSLpMaTFFMzaGZR%2BVVvbBdc9JnsWyzkIoC0ddbcoKGbw0nfXVlrVC9evZiG58ZlPFcLGYtlrtDJiwgY44J4ATQBI%2BKqkygl3r0CKQtK%2BuDaU3AnS6loIN O5diEmJ6oCFPky1a%2BMg36XunwleFp46ue8cvxFMw6ultMLRVjKHXc%2Bm6o24Qi0trdWw5wCrLJjDB314VD13%2FP56wGDsM%2FodY3O7zQJdMxlqC6M59dWD1BVFCG5y2mTERtkfIrlozg%2FoWPJAMCAnBtK4m3ozuFQFNGj 什么必须做解决这个问题?? 解决方案 (function(){ (#field)。keyup(function(event) { if(event.which == 13){ // document.myform.submit(); (form)。submit(); } }); }); 我没有提交按钮,为什么我写了jquery代码来汇总表单。 我收到错误 414.这是一个错误。 请求的URL /搜索...太大而无法处理。这就是我们所知道的。 网址如下 http://www.google.com/search?ContentPlaceHolder1_TabContainer1_ClientState=%7B %22ActiveTabIndex%22%3A0%2C%22TabState%22%3A%5Btrue%2Ctrue%5D%7D&安培; __ EVENTTARGET =安培; __ EVENTARGUMENT =安培; __ VIEWSTATE = A64VnghwX7ariylFiRunhbMz1ff6JyL%2FOdfovbBE8tXJkIWp%2F7odzVi8ASIW3sztQ0j%2Fi1ljUidb0gosyNwxHC5SEgW%2FU5jOmQHI4R3ipU2nekqmx3Q0JdTYXnIdpbs%2B74Qio2XOUd8SgwqJpolQhTDbOgDlMk5THsRFBZJpTYHxqIrxNZRvna8Vplg0L5V9MRgRsIxF8bgGSQegiQ8qCk%2F6Hp6%2BF2xvNKLfAT1B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%2FJdxVZZiwrkWjJDvVjPQTKTIMBd%2Fn4Pl%2FrMvNuocLsj5hdfIUgd4z4Osoky6Q5%2FZpxUSUdybCBH26TRDaQMT%2BfdVrSHpLicW4aXK%2FvumZjRnPROfUD% 2FcQc2TzUaSPRccrTzl%2FSCTxRd0s2AwCraXvqI93A%2FNZOL7be9jrgKVei6KT9Aj0Qp9hyaHCDmL0%2BLkoFHv5Ixkfo8EWeq5ZwCXrJiRfTNUbGkz1XhqeOCGLZl9QXfIapu4CrbTxi4ua5LFfI7JmbA0V8a4LX8V3sSLpMaTFFMzaGZR%2BVVvbBdc9JnsWyzkIoC0ddbcoKGbw0nfXVlrVC9evZiG58ZlPFcLGYtlrtDJiwgY44J4ATQBI%2BKqkygl3r0CKQtK%2BuDaU3AnS6loIN O5diEmJ6oCFPky1a%2BMg36XunwleFp46ue8cvxFMw6ultMLRVjKHXc%2Bm6o24Qi0trdWw5wCrLJjDB314VD13%2FP56wGDsM%2FodY3O7zQJdMxlqC6M59dWD1BVFCG5y2mTERtkfIrlozg%2FoWPJAMCAnBtK4m3ozuFQFNGj 什么必须做解决这个问题?? Hi,I want to do a google search ,for this i have written code as<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" ViewStateMode="Disabled" EnableViewState="false" Inherits="MasterPage" %><form id="form1" name="myform" runat="server" method="get" action="http://www.google.com/search"> <input type="text" runat="server" id="field" name="q" size="25" class="Normal_Txt" style=" outline:0; color:#d2d2d2; width: 140px; height: 30px; background-color: Transparent; border-color: Transparent; border-style: none; border-width: 0px"maxlength="255" value="Google Site Search" onfocus="if(this.value==this.defaultValue)this.value=''; this.style.color='#d2d2d2';" önblur="if(this.value=='')this.value=this.defaultValue; " /><input type="hidden" name="sitesearch" value="http://data-pointonline.com/" />$(function () { $("#field").keyup(function (event) { if (event.which == 13) { // document.myform.submit(); $("form").submit(); } });});I dont have submit button that why i have written jquery code to sumbit a form .I am getting error as414. That’s an error.The requested URL /search... is too large to process. That’s all we know.the url is as followhttp://www.google.com/search?ContentPlaceHolder1_TabContainer1_ClientState=%7B%22ActiveTabIndex%22%3A0%2C%22TabState%22%3A%5Btrue%2Ctrue%5D%7D&__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=A64VnghwX7ariylFiRunhbMz1ff6JyL%2FOdfovbBE8tXJkIWp%2F7odzVi8ASIW3sztQ0j%2Fi1ljUidb0gosyNwxHC5SEgW%2FU5jOmQHI4R3ipU2nekqmx3Q0JdTYXnIdpbs%2B74Qio2XOUd8SgwqJpolQhTDbOgDlMk5THsRFBZJpTYHxqIrxNZRvna8Vplg0L5V9MRgRsIxF8bgGSQegiQ8qCk%2F6Hp6%2BF2xvNKLfAT1BblYEduEm%2F2G8dGoIkg3iWj1PvFfzToYtWOglQGzdotWULOQUvUt1xfu3fmU114LRA7bL9zn3mCP2XV7CHg1s4JK8S9kDIZVtZEPnGUjTBD0vJlCtjLBIYwsPwpOMAN5eicW%2BYY9RuAeT1xPQXFkmZjBduIeiVJ75KIh9h9dnJqo65fgSJCxLAznqr%2F01r%2BMFxNCAYoycKM0IUcttwFqXFwiWFRsUzT2vwC3Hi9iQ4kjAgqULEWqta8NSfJd4kvyuV57IkR77VEtwBM%2BIx4uSdIRkYJM9VUKw7Yocf%2FQWeBSdi6tBrcfzGYwchhPQMcDndjW0EFxvjySq%2FPtajIQu1erDgMOvjij0F%2BXkHp1YRcbObiELzldQJrj%2Fv27HssOdK22FdikuQw8UnarwkHbQQZW%2FnBn8Wxo0VvOhZwjz4v6gIkuHVxG0oXQZCzFbkkPH8fekM%2FI%2FAJPwWC2WsrjPcBWSfwrA0Y5W0m%2Bzmugj%2BI3ldq1Uwi8Un4XolNo5WFrAcxAtuwYARbQQ%2Fwo9c%2BvVOJp%2FA%2FvGHUgowqQMCnuL2GUtub5JoJ9mkCxWHa6%2F4xIYMReM0wgTnFCkOepqim5rDUVTwSgN%2F7gEOpi9dX1p%2Fg3Iw0fOQW9yVdO%2BBOHkkjZX0jlWoaEjuHWs%2Fuh2W36Vn3bCbQ3ziWj0kadFlca2KxmW6dFg898rG2xvgsfGy0StEeifoN3ZS77CA%2BZfv2EJItq3vTCoPJcGTyP4u8fcnGSNQ3Hw9y0FyF1iCtcRw7mH%2FBUbilGFiY4NJ29qEQJp4AOZLzpncKg7wkx9oeKyctPMMpZ%2B7L1fQrXpXqtqvjU7QBfo6UExMZgduKgaX%2Bz9s2zjt%2BaS2lFC8TU8%2BYzUrSr4jhdxvH8EFPgBqnkefBw2ts8SilNW0zl95TC6vkLhjIOWWDAR5gdKUkrE37aJhlLG0YKLri2L0XeAcnCDWkpO%2Fc0N1y8IWYxPaFSgkRjYZtBrIJSUou9y7RJhkL2UQm%2FJdxVZZiwrkWjJDvVjPQTKTIMBd%2Fn4Pl%2FrMvNuocLsj5hdfIUgd4z4Osoky6Q5%2FZpxUSUdybCBH26TRDaQMT%2BfdVrSHpLicW4aXK%2FvumZjRnPROfUD%2FcQc2TzUaSPRccrTzl%2FSCTxRd0s2AwCraXvqI93A%2FNZOL7be9jrgKVei6KT9Aj0Qp9hyaHCDmL0%2BLkoFHv5Ixkfo8EWeq5ZwCXrJiRfTNUbGkz1XhqeOCGLZl9QXfIapu4CrbTxi4ua5LFfI7JmbA0V8a4LX8V3sSLpMaTFFMzaGZR%2BVVvbBdc9JnsWyzkIoC0ddbcoKGbw0nfXVlrVC9evZiG58ZlPFcLGYtlrtDJiwgY44J4ATQBI%2BKqkygl3r0CKQtK%2BuDaU3AnS6loINO5diEmJ6oCFPky1a%2BMg36XunwleFp46ue8cvxFMw6ultMLRVjKHXc%2Bm6o24Qi0trdWw5wCrLJjDB314VD13%2FP56wGDsM%2FodY3O7zQJdMxlqC6M59dWD1BVFCG5y2mTERtkfIrlozg%2FoWPJAMCAnBtK4m3ozuFQFNGjwhat have to do to solve this issue ?? 解决方案 (function () {("#field").keyup(function (event) { if (event.which == 13) { // document.myform.submit();("form").submit(); } });});I dont have submit button that why i have written jquery code to sumbit a form .I am getting error as414. That’s an error.The requested URL /search... is too large to process. That’s all we know.the url is as followhttp://www.google.com/search?ContentPlaceHolder1_TabContainer1_ClientState=%7B%22ActiveTabIndex%22%3A0%2C%22TabState%22%3A%5Btrue%2Ctrue%5D%7D&__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=A64VnghwX7ariylFiRunhbMz1ff6JyL%2FOdfovbBE8tXJkIWp%2F7odzVi8ASIW3sztQ0j%2Fi1ljUidb0gosyNwxHC5SEgW%2FU5jOmQHI4R3ipU2nekqmx3Q0JdTYXnIdpbs%2B74Qio2XOUd8SgwqJpolQhTDbOgDlMk5THsRFBZJpTYHxqIrxNZRvna8Vplg0L5V9MRgRsIxF8bgGSQegiQ8qCk%2F6Hp6%2BF2xvNKLfAT1BblYEduEm%2F2G8dGoIkg3iWj1PvFfzToYtWOglQGzdotWULOQUvUt1xfu3fmU114LRA7bL9zn3mCP2XV7CHg1s4JK8S9kDIZVtZEPnGUjTBD0vJlCtjLBIYwsPwpOMAN5eicW%2BYY9RuAeT1xPQXFkmZjBduIeiVJ75KIh9h9dnJqo65fgSJCxLAznqr%2F01r%2BMFxNCAYoycKM0IUcttwFqXFwiWFRsUzT2vwC3Hi9iQ4kjAgqULEWqta8NSfJd4kvyuV57IkR77VEtwBM%2BIx4uSdIRkYJM9VUKw7Yocf%2FQWeBSdi6tBrcfzGYwchhPQMcDndjW0EFxvjySq%2FPtajIQu1erDgMOvjij0F%2BXkHp1YRcbObiELzldQJrj%2Fv27HssOdK22FdikuQw8UnarwkHbQQZW%2FnBn8Wxo0VvOhZwjz4v6gIkuHVxG0oXQZCzFbkkPH8fekM%2FI%2FAJPwWC2WsrjPcBWSfwrA0Y5W0m%2Bzmugj%2BI3ldq1Uwi8Un4XolNo5WFrAcxAtuwYARbQQ%2Fwo9c%2BvVOJp%2FA%2FvGHUgowqQMCnuL2GUtub5JoJ9mkCxWHa6%2F4xIYMReM0wgTnFCkOepqim5rDUVTwSgN%2F7gEOpi9dX1p%2Fg3Iw0fOQW9yVdO%2BBOHkkjZX0jlWoaEjuHWs%2Fuh2W36Vn3bCbQ3ziWj0kadFlca2KxmW6dFg898rG2xvgsfGy0StEeifoN3ZS77CA%2BZfv2EJItq3vTCoPJcGTyP4u8fcnGSNQ3Hw9y0FyF1iCtcRw7mH%2FBUbilGFiY4NJ29qEQJp4AOZLzpncKg7wkx9oeKyctPMMpZ%2B7L1fQrXpXqtqvjU7QBfo6UExMZgduKgaX%2Bz9s2zjt%2BaS2lFC8TU8%2BYzUrSr4jhdxvH8EFPgBqnkefBw2ts8SilNW0zl95TC6vkLhjIOWWDAR5gdKUkrE37aJhlLG0YKLri2L0XeAcnCDWkpO%2Fc0N1y8IWYxPaFSgkRjYZtBrIJSUou9y7RJhkL2UQm%2FJdxVZZiwrkWjJDvVjPQTKTIMBd%2Fn4Pl%2FrMvNuocLsj5hdfIUgd4z4Osoky6Q5%2FZpxUSUdybCBH26TRDaQMT%2BfdVrSHpLicW4aXK%2FvumZjRnPROfUD%2FcQc2TzUaSPRccrTzl%2FSCTxRd0s2AwCraXvqI93A%2FNZOL7be9jrgKVei6KT9Aj0Qp9hyaHCDmL0%2BLkoFHv5Ixkfo8EWeq5ZwCXrJiRfTNUbGkz1XhqeOCGLZl9QXfIapu4CrbTxi4ua5LFfI7JmbA0V8a4LX8V3sSLpMaTFFMzaGZR%2BVVvbBdc9JnsWyzkIoC0ddbcoKGbw0nfXVlrVC9evZiG58ZlPFcLGYtlrtDJiwgY44J4ATQBI%2BKqkygl3r0CKQtK%2BuDaU3AnS6loINO5diEmJ6oCFPky1a%2BMg36XunwleFp46ue8cvxFMw6ultMLRVjKHXc%2Bm6o24Qi0trdWw5wCrLJjDB314VD13%2FP56wGDsM%2FodY3O7zQJdMxlqC6M59dWD1BVFCG5y2mTERtkfIrlozg%2FoWPJAMCAnBtK4m3ozuFQFNGjwhat have to do to solve this issue ?? 这篇关于在asp.net中提交表单时收到414错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-18 21:19