Go Back   Velocity Reviews > General Computer Discussion > Software
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
Old 04-09-2009, 05:36 AM   #1
Default How to retrieve array parameter ( JAVA )


Code:
public ModelAndView handleRequest(HttpServletRequest req, HttpServletResponse res) throws Exception{

Code:
String p[] = req.getParameter("pArray");

I can't compile, I also try casting by (String[]) but result is same
how can I retrieve array parameter ?


naruponk
naruponk is offline   Reply With Quote
Old 04-16-2009, 10:20 AM   #2
susith
Junior Member
 
Join Date: Feb 2009
Posts: 20
Default
normally request get (Strings) objects. It depends on how do you post (call)it. How do you send array of data. If serialized format, cast it.


susith
susith is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VHDL and EDK: Custom IP core containing an array as a port using EDK allsey_1987 Hardware 0 10-27-2009 02:26 PM
constants as of array of integers, for loops octavsly Hardware 0 04-25-2009 11:53 AM
Array Programme rits Software 2 03-04-2009 05:18 PM
Error: Physical sythesis tool PALAC is not supported by Formal Verification tool Conf bbiandov Software 0 12-22-2008 05:25 AM
NVTMR SPRM (Navigational Timer System Parameter) in DVD spec - do set top players support it? Leviathan DVD Video 0 08-09-2003 03:21 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46