Win a copy of Spring Boot in Practice this week in the Spring forum!

kotha vijaybabu

Ranch Hand
+ Follow
since Jan 28, 2006
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by kotha vijaybabu

hi all,
i am adding array to the request(like name,array)
then i am getting that array in my action class
(like request.getParameterValues())
but when i use array.length in action class it is displaying 1 as length

when i use request.getParameterNames() , it is displaying all values of array
but i am unable to process that array

my scenario is like this(please help me it's urgent)

i am setting request like this(of course i am using flex for front end forget about flex)

service4.request={ fieldIdArr:fieldId, fieldNameArr:fieldName, tabIdArr:tabId,
displayedInSectionArr isplayedInSection, fieldOrderArr:fieldOrder}

like (name:array) pair

then i am getting these arrays in my action class using

String[] fieldId = request.getParameterValues("fieldIdArr");
String[] fieldName = request.getParameterValues("fieldNameArr");
String[] tabId = request.getParameterValues("tabIdArr");
String[] displayedInSectionrequest.getParameterValues("displayedInSectionArr");
String[] fieldOrder = request.getParameterValues("fieldOrderArr");

it is storing fine in local string arrays
but when i process these arrays getting numberformati exception

and length is displying 1

when i use this code

Enumeration en=request.getParameterNames();
String str=en.nextElement().toString();
System.out.println("parameter name-->"+str);
System.out.println("parameter value-->"+request.getParameter(str));
in my action class displaying

parameter name-->fieldNameArr
parameter value-->Group,Company Name,Business Domain,Status,Licensee Status,Address1,City,Phone1,Zip,State,Time Zone,Country,Licensee Products,Comments,Territory
parameter name-->fieldOrderArr
parameter value-->14,15,16,17,18,19,21,22,24,26,27,28333,2933333,30,31
parameter name-->tabIdArr
parameter value-->3,3,3,3,3,3,3,3,3,3,3,3,3,3,3
parameter name-->displayedInSectionArr
parameter value-->,,,,vijay,vvvv,,vvvvvvvvvvvv,,,,vvvvvvv,,vijayggggggggggg,
parameter name-->fieldIdArr
parameter value-->50,51,52,53,54,55,57,58,60,62,63,64,65,66,67

of course i am setting this data in flex part
up to i am sending request ok..
but when i am processing arrays what i got it is showing numberformat exception

please how can i proceed for this
help me

thanks in advance
15 years ago

iam getting response.getOutputStream() has been already called exception
in my action class.
but i didnot called that in my project
that is coming from other code which is not accessible for me

so my question is how can i avoid that exception
it is creating much problem in my code while updating database

thanks in advance

15 years ago
hai folks
i want to know exactly what is the
meaning of baseclasses and
the use of them

can anybody help me
in this regard

15 years ago
yah dawson
explain "rel" attribute please

thank you
hai folks
i want to call a css file from jsp
how can i do that
please help me

thank you
hai folks
i want to know how to call js file from
a jsp
please reply

thank you in advance

hai all
i want some information regarding
how to parse xml document using dom parser in java
dom related classes and description all those things

can anybody help me how can i proceed

thanks in advance

hi Jeff,
i mean to ask that is there anotherway to print something without using
16 years ago
hi ranchers
i have a doubt regarding can we print something on the screen
without using System.out.println();

thanx for replies

[ May 02, 2006: Message edited by: kotha vijaybabu ]
16 years ago
hi john
i agree with u anon class implicitly can extends a class or implements an interface

[ April 17, 2006: Message edited by: kotha vijaybabu ]
hi Tamara

did u compiled ur code
it is giving error like overriding method cant return another type

see it

vijay----->scjp preparing
satou is correct....

vijay----->(scjp preparing)
thanx naresh thanx a lot
but can u tell me is there any discount on that exam (scjp1.4)


hi ranchers
i would like to take scjp1.4 in next month.
iam from hyderabad(india)
i want to know some information ragarding..
-what are the prometrics availabel in hyderabad
-how can i check whether it is authorised or not
-is there any discount for 310-035 exam(scjp1.4)

plz give me the total details

thanx in advance

[ March 27, 2006: Message edited by: kotha vijaybabu ]
hi ranchers
is it possible to convert .class to .exe???
if it is how? can anybody explain
16 years ago