Even in my case there are lot of areas where we used setXXXX method that accepts a string.[Set method corresponding to a widget in UI having different values but same name]
The string is a list of comma seperated values..........
we tokenized the string and retreived the individual values in our bean set method.
It worked fine on JRun 2.3.The same code fails in JRun 3.0
When i printed the string i see only the first value and not a list of values.
Why is this deviation in JRun 3.0 ?i had to modify the setmethod to accept a string array instead of a string now?
[EMAIL PROTECTED] wrote:
Hi,Using getParameterValues it will definitely work.
But using getParameter only gives the first value.
In JRun 2.3 ,OAS etc it will give a comma separated value.Now it's very difficult to change the whole code. So could you pls tell me any
solution .
Otherwise any idea why Allaire decided to change the behaviour of getParameter
in JRun 3.0 than in 2.3?Would appreciate your valuable reply..
Thanks
SavantDobromir Karamelski <[EMAIL PROTECTED]> on 11/13/2000 05:00:23 PM
Please respond to [EMAIL PROTECTED]
To: JRun-Talk <[EMAIL PROTECTED]>
cc: (bcc: Savantraj Chennamakal Subramanian/PM4/ISSAP/SES/SONYASIA)
Subject: RE: Urgent -DoubtHi,
JRun can do it off course .. this is part of my working code:
(I'm using it with JRun Prof SP1)// text field with unique name
String DBtable = request.getParameter("DBtable");// few text boxes with the same names
String[] DBcolumns = request.getParameterValues("DBcolumn");for(int i = 0; i<DBcolumns.length;i++){
bla bla .. some database functions ..
}I hope this will help you
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 13, 2000 3:09 AM
To: JRun-Talk
Subject: Urgent -DoubtHi ,
I have posted this same query 2 times in JRun forun 2 times.But I couldn't
get
any response.
Could anybody can help me ..Its very urgent since we need to decide whether
to
use JRun 3.0 or any other
app server because of the same.Problem.
Our application running fine in IIS+JRun 2.3 combination and other servers
like
OAS,WebLogic etc.
But when I try to deploy on JRun 3.0 which we intend to go live is giving
following problem.Concider the following form
form name="xxx" action="yyy.jsp"
input type="name" value="A"
input type="name" value="B"When I use request.getParameter("name") it is giving "A,B" in all other app
server except JRun 3.0, where as it gives only
the first name ie "A". If I use request.getParameterValues("name") I can
get
the value properly in to an array.Since the development is completed its too late for changing the codes.
Does allaire have any solution for this problem? Kindly respond at the
earliest.Thanks & Regards
Savant----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.NOTE: This e-mail is confidential and may also be privileged; under no
circumstances should you forward it, or copy or disclose its contents, to
any other person without the prior consent of the sender. If you are not an
intended recipient of this e-mail, please notify us immediately.
Internet communications are not secure and subject to possible data
corruption, either accidentally or on purpose, and may contain viruses.
Furthermore e-mail is an informal and often abbreviated method of
communication. For these reasons, it will normally be inappropriate to rely
on any information or advice contained herein without also discussing it
with the sender.(The note below is a Turkish version of the above disclaimer)
NOT: Bu elektronik posta mesaji gizli olup, ayni zamanda ayricalikli
olabilir; sartlar ne olursa olsun, gndericinin nceden onayini almaksizin,
baskalarina iletmemeniz, ierigini kopyalamamaniz veya baskalarina
aiklamamaniz gerekmektedir. Bu mesajin muhatabi degilseniz, bu durumu
derhal tarafimiza bildirmenizi rica ederiz.
Internet zerinden yapilan iletisim gvenli olmayip, verilerin kasten veya
tesadfen bozulmasi ve virs iermesi olasiligi vardir. Ayrica, elektronik
posta, resmi olmayan ve ogunlukla kisaltilmis bir iletisim yntemidir.
Dolayisiyla, burada yer alan bilgi veya tavsiyelere, gnderici ile ayrica
grsmeden gvenmeniz normal sartlar altinda uygun olmayacaktir.------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
