xsp-request:get-parameter-values - Java String[]
Hello! i want to write the values from an request parameter to a String array, but it seem that this task is too complex for my brain ;-) can anybody tell me how to do that? String asKst[] = xsp-request:get-parameter-values name=kst/; doesn't work... thx, Chris its Cocoon 2.0.1... -- KNAPP Logistics Automation http://www.knapp.com Ing. Christian JöllyTel/FAX: (++43) 316 / 495 1926 / 495 394 Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz -- Support your government, give Echelon/Carnivore something to parse -- AMTAS ATMD ATSC Abdullah Allah communist CIA DD2-N DISA DoD GRU Gregori Irak Iran KGB Kurdish LSD NATO NSTD Natasha ORD RTEM Russia STRAP Saddam Hussein TSP Yugoslavia attack bank bomb classfield cocain compromise defense democracy destroy destruct detonator directorate elections enforce extasy force foreign embassy government grass hashish heroin illegal information international military systems missile million dollars nuclear policital pot power presidental project restricted data revolution rule the world sensitive smuggle spy steal system takeover terrorist top-secret warmod warrior-T weapon weed msg19039/pgp0.pgp Description: PGP signature
Re: xsp-request:get-parameter-values - Java String[]
Hello Christian, -- How about like this sample: I used vector instead array, but it works correctly. xsp:structure xsp:includejava.util.Vector/xsp:include /xsp:structure xsp:logic Vector v = (Vector)request.getAttribute(checkup); for(int i=0; i lt; v.size(); i++) { } /xsp:logic === CJ doesn't work... CJ thx, Chris CJ its Cocoon 2.0.1... -- Best regards, Atlanoffmailto:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xsp-request:get-parameter-values - Java String[]
Hello all! sorry for that stupid question, i forgot as=array ;-( thx for your time Chris On Thu, Oct 10, 2002 at 12:05:04PM +0200, Christian Joelly wrote: i want to write the values from an request parameter to a String array, but it seem that this task is too complex for my brain ;-) can anybody tell me how to do that? String asKst[] = xsp-request:get-parameter-values name=kst/; -- KNAPP Logistics Automation http://www.knapp.com Ing. Christian JöllyTel/FAX: (++43) 316 / 495 1926 / 495 394 Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz -- Support your government, give Echelon/Carnivore something to parse -- AMTAS ATMD ATSC Abdullah Allah communist CIA DD2-N DISA DoD GRU Gregori Irak Iran KGB Kurdish LSD NATO NSTD Natasha ORD RTEM Russia STRAP Saddam Hussein TSP Yugoslavia attack bank bomb classfield cocain compromise defense democracy destroy destruct detonator directorate elections enforce extasy force foreign embassy government grass hashish heroin illegal information international military systems missile million dollars nuclear policital pot power presidental project restricted data revolution rule the world sensitive smuggle spy steal system takeover terrorist top-secret warmod warrior-T weapon weed msg19050/pgp0.pgp Description: PGP signature