File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes javascript error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript error" Watch "javascript error" New topic
Author

javascript error

Sudha Kothari
Greenhorn

Joined: Jul 11, 2006
Posts: 1
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 ]

Sudha
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41101
    
  45
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.


Ping & DNS - my free Android networking tools app
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Moving to the HTML/Javascript forum.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Jan 10, 2002
Posts: 60780
    
  65

Title adjusted.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: javascript error
 
Similar Threads
doPost vs doGet
Parameter Limit?
Excel Window problem
send viewbean through an href link
Form Variables