Solved

Java Servlets : getParameterValues(String) into an Array

Posted on 2001-06-21
5
888 Views
Last Modified: 2013-11-24
Do we have any contraint on the max limit the values which can be taken into an Array with this method.
I am having a screen where a user can check the items and download into excel.When the no of records are exceeding more than 200 (its not exact figure , i am giving this number randomly) then I am not able to get any values with getParameterValues.I am getting null values with this.This is working fine when the no of records are less.

0
Comment
Question by:baddamj
5 Comments
 
LVL 2

Accepted Solution

by:
vpadma earned 200 total points
ID: 6215045
Hi
It depends whether you are trying to get the parameter passed in the get method or post method. In GET (subsequently doGet()), some servers limit the total length of the string to 240 characters.
Whereas POST method has unlimited number of parameters that can be passed.
Padma.
0
 

Expert Comment

by:Nachiap
ID: 6215854
yeap what padma says is correct,Actually there is no such limit for this method..
check out this first...if it is doGet change to doPost..
& are you creating any hidden values dynamically in same name..& doing request.getParameter in server side...
if you can place the required code..
0
 

Expert Comment

by:CleanupPing
ID: 9062021
baddamj:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 9253881
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:


[points to vpadma]


Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
sudhakar_koundinya
EE Cleanup Volunteer
---------------------
If you feel that your question was not properly addressed, or that none of the comments received were appropriate answers, please post your concern in THIS thread.
0
 

Author Comment

by:baddamj
ID: 9266107
hi Sudhakar,
Can you award points to vpadma?
Although this didn't solve my problem, I would like to
thank them for sparing their time.

Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Android studio getdrawable(int) is deprecated 4 41
Problem to go to Web page 2 98
JavaScript/Java - Changing an image background color 4 56
Java DateChooser? 3 29
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
The viewer will learn how to implement Singleton Design Pattern in Java.

920 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now