• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javascript error

 
Sudha Kothari
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to increase the size limitation of the get() method in the query string which is practically not possible.I have a JSP page which has 45 hidden variables and i m using the GET() method,i can't use POST() as i have another pagination functionality which gets affected if i use POST().When 'GET' method is used, IE 6.0 is not able to take all the information because of it's size limitation with GET method. The same code is working fine with Netscape. The reason is Netscape allows much data to be carried with 'GET'.This is a browser specific issue i guess.I can't do even without those hidden variables.Therefore kindly suggest me as how can we approach to the issue and solve it.URGENT
[ July 11, 2006: Message edited by: Bear Bibeault ]
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

Please read this regarding the the use or words like "URGENT".

One solution that comes to mind the use of server sessions. Since those fields are hidden I assume that they don't change from page to page, and could be kept on the server instead.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the HTML/Javascript forum.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can not change this, not sure why you would need to use so many hidden variables when most people would code this stuff with session on the server.

IE is different from Netscape which is different from Firefox which is different from Opera. Get is used to pass a small amount of information while POST is used for a large amount.

Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Title adjusted.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic