Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Request entity too large

Posted on 2001-06-27
5
Medium Priority
?
371 Views
Last Modified: 2012-05-04
how do i solve the "request entity too large" error?
im using GET and the page actually has many input text boxes (actually double the size because of hidden fields that stores the original values of records to be updated)
the table clomns and rows all in all is usually 8 x 10 plus 20 other hidden fields. plus half of those 8 x 10 has 1 hidden field each. great.
now i suspect POST is the answer to the problem after scouring the web for a possible enlightenment.
now if i use POST instead of GET, i get the error "data missing". why is that?
0
Comment
Question by:ibo
  • 4
5 Comments
 
LVL 4

Expert Comment

by:jcs_clement
ID: 6234124
well I have tried this

1. "rubbish1.asp"

<%@ Language=VBScript %>
<html>
<head>
</head>
<body>
<form action="rubbish.asp" method="post">
     <%for count = 1 to 1000%>
          <input type="text" name="txt_<%=count%>" value="something_<%=count%>">
     <%next%>    
     <input type="submit" value="submit">
</form>
</body>
</html>



2. "rubbish.asp"

<%@ Language=VBScript %>
<html>
<head>
<title></title>
</head>
<body>
<%
for each item in Request.Form
     Response.Write Request.Form(item) & "<br>"
next
%>
</body>
</html>

rgds
jcs
0
 
LVL 4

Expert Comment

by:jcs_clement
ID: 6234136
It does work here in IE 5.0 and NS 4.7. I don't think there is a limit for number of characters in "POST" method.

Are u using IE 4.0 ?

rgds
jcs
0
 
LVL 4

Expert Comment

by:jcs_clement
ID: 6234164
u can use this also to get the variable name adn the value in the form collection

for each item in Request.Form
     Response.Write Request.Form.Key(item) & " = " & Request.Form(item) & "<br>"
next

rgds
jcs
0
 
LVL 3

Author Comment

by:ibo
ID: 6237119
oks.. it was a caching problem..
netscape reloads the page (twice) for some unknown reason.
the second time, the caches already expired of some sort im not not really sure what happens but i think it has somethin to do with the cache.

can i just ask another question for the points deposited? :)

im using jsp and how do i know if its a textbox or a textarea?
0
 
LVL 4

Accepted Solution

by:
jcs_clement earned 200 total points
ID: 6237309
<html>
<head>
<title>View Messages</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE=javascript>
     function fun(){
          x = document.frmone.txtone.type
          y = document.frmone.txttwo.type
         
          alert(x + "  " + y)
     }
</SCRIPT>
</head>
<form name="frmone">
<body OnLoad="fun()">
     <textarea name="txtone"></textarea>
     <input type="text" name="txttwo">
</form>
</body>
</html>


rgds
jcs
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question