How i can get a array in the current page?

Can i send a array parameters from previous page to current page?
the coding like below:
// the coding in the previous page
String[] strSend = {"a", "b", "c"};
HashMap map = new HashMap(2);
map.put("array", strSend);
pageContext.setForwardURL(
"OA.jsp?OAFunc=XXFMSRHISQF",
null,
KEEP_MENU_CONTEXT,
null,
map,
true,
ADD_BREAD_CRUMB_NO,
IGNORE_MESSAGES );
//the coding in the processRequest of the current pageCO.
String strParam = pageContext.getParameter("array");
the problem is that the type of "strParam" is a String.
it's not a array of String. So it is not the parameter what i need.
can u tell me how to get the array parameter from previous page. thanks.

This cannot be achieved directly while using the setForwardURL method, all values that are there in the Hashmap will be appended when the redirection is done, so you cannot get the values that are there in the array object directly.
Workaround that I can think of, put all the array values in a String object, appended by a delimiter, in the second page, after you do a getParameter(String), recover the values using a StringTokenizer and the delimiter that you used while appending the string values and store the values in a Array.
Thanks
Tapash

Similar Messages

  • I found a iPad Mini and would like to return it to the original owner.  I believe it was previously stolen and it cannot be activated.  Any idea how I can get it back to the original owner?

    I found a iPad Mini and would like to return it to the original owner.  I believe it was previously stolen and it cannot be activated.  Any idea how I can get it back to the original owner?

    I am very disappointed (yet I somewhat understand) Apple and how they completely have no interest in helping return lost items.  I don't believe the person who traded me this was from around here so I don't even know where to begin.  I seen on ebay you can sell them for parts but I don't really believe in doing that and would like to at least try my best to get it back to whom it belongs to.  I will be contacting my local police department regarding this but I don't think they will be able to do much if it was stolen from somewhere else.  However if nobody claims it in 90 days and I have a letter from my local police station saying I am the new owner, will that be enough for apple to unhold their policy of proving the item belongs to you?

  • HT201328 My nephew give me the iphone and i'm not sure about the carrier. how i can get this information using the imei number?

    My nephew give me the iphone and i'm not sure about the carrier. how i can get this information using the imei number?

    If you have the iPhone in front of you, here's how you can learn the carrier:
    Go to Settings > General > About and look at the "Network" row near the top.  There's your carrier's name!

  • My phone has the correct AppleID in the in settings section but asks me to login with one that isn't mine.  I deleted the ID from my itunes but it still won't let me login with mine. How do I get my iPhone on the same page?

    My iphone4 has the correct Apple ID in the information settings section and asks me to login to my ID most of the time but when I try to update my apps, it asks me to login with an ID that isn't mine.  I deleted the wrong ID from my itunes but it still won't let me login with my own ID to update apps.  How do I get my iphone on the same page?

    How did you obtain these apps? All apps are DRM protected & tied forever to the account used to originally obtain them. They cannot be transferred to another Apple ID(account), nor can they be updated using any Apple ID other than the one that was used to originally obtain them.

  • When I AirPrint it only does small portions of the page. How do I get it to print the whole page?

    When I AirPrint The printer only prints a portion of the page.  How do I get it to print the whole page.

    It would help if you stated what printer you are using and what application you are doing the printing from. Also, what are you printing?

  • I am unable to log into the server wiki. I can get as far as the login page.

    When I attempte to log into our company server wiki I can get as far as the login page.
    When I type in any user/pass all I see is a spinning wheel on the login panel.
    The error that is occuring in the back ground is  as follows
    ActiveRecord::StatementInvalid in LoginController#plain_login
    SQLite3::SQLException: attempt to write a readonly database: INSERT INTO "users" ("uid", "created_at", "shortname", "longname", "generated_uid", "updated_at") VALUES (...)
    I have confirmed that the postgres server for collab is running and I am able to connect to it through a Database Utility. I can also verify through this database utility that the Wiki is in tact. I do not know where else to go form here or if the errors I am seeing are not related to the wiki.
    I am open to any possible assistance through this endeavor. I am running a Mac OS X server version 10.7.5.

    Thank you so much. I deleted all of the Netflix history and the cookie. and it works fine now. Thank you again.

  • How users can upload excelsheet data through the application page....

    I want to make my application in such a way that the users of the application can import data from an excel sheet to the respective tables through the page.Once the users browses the file and clicks on the submit button,the whole data from the excel sheet should go to the respective tables.The thing is that as the work of uploading is done at the back-end...it can also be done at front-end in the application itself.Also,i need to validate the data before inserting it.Please can you advice me on this.........

    Hello,
    I believe the following thread can be a good starting point - Loading a CSV file into a table
    You can download Vikas' application, exploring the code and modify it to your needs.
    Regards,
    Arie.

  • When I set my home page and restart Firefox, it reverts to iMesh, an inadequate search engine. How do I get it to retain the home page I set? I said yes when it asked.

    I go to Google, drag it to the home page icon and then acknowledge by clicking yes. When I restart Frfirefox it goes back to imesh.

    I go to Google, drag it to the home page icon and then acknowledge by clicking yes. When I restart Frfirefox it goes back to imesh.

  • Other ways for getting a reference to the current page [ID5, JS]

    To get a reference to the page you're working on (or that holds an object you want to manipulate), you could use app.activeWindow.activePage.id or app.layoutWindows[0].activePage.id.
    But when you're working on a spread and this spread fills your application window, you seldomly get the correct page reference. You could have a selection on the right page, but when you run a script with the active/layoutWindow approach, you could easily get a (wrong) reference to the left page, if that one is more 'dominant' in your program window.
    I work around this by using activeSpread and getting the Y-coordinate of a frame or insertionPoint on the page I'm working on. When you set the ruler origin to spread, you can determine the left or right page by looking at the Y-coordinate. If it's higher than the page width (or spine position) you're on the right hand page. You could than use if...then to assign 0 or 1 a to a variable. Finally, you can get the ID of that page: app.activeSpread.pages.item(variable).id.
    Perhaps this approach is helpfull for others who struggle with page references.
    My question is: are there other reliable (perhaps more simple) ways to get a reference to the page?

    Right. I should have posted the question sooner, because shortly after I found the answer I've been looking for quite long. And once again it's so simple. Nevertheless it might be usefull to share.
    For most page items like textframes and rectangles you can simpy use the property parentPage. For instance, if you have selected a rectangle you get a reference to the page with code like:
    page = doc.selection[0].parentPage.id.
    This might be usefull if you dragged a rectangle holding an image to another page and want to run a script that re-attaches the caption frame. 

  • How to detect that we are on the current page while we r reading epub3?

    Hi Everyone,
    Im newer of using epub3. I'm trying to product an audio epub3 and i set display option "open-to-spread = true", when i slide first page, an audio will be played auto but for ibooks, when we slide first page, the second page already load before i open it. My question is that are there any way to detect that we are on current page?
    Sorry for my enlish language
    Thank in advance

    Hi Chen,
    I am not sure if you want to go to the stage when the storage-enabled node = 0 as this would force the data loss. My suggestion would be to check if the storage-enabled node in the Grid counts less than 5 or so.
    Re the ways, you can always start the reporter by using the system property -Dtangosol.coherence.management.report.autostart=true and you can always set the frequency to run the report. This report will keep all the JMX related data since the reporting is started. You can also run a background process that reads the Mbean and checks for the storage-enabled nodes. There are ways to do it using the shell script by polling the active PIDs on Storage enabled nodes.
    Hope this helps!
    Cheers,
    NJ

  • How Do I Get My Phone To The Home Page After A Accidental Factory Reset ? My Wifi Or Itunes Is Not Working .

    Okay , I Got My iPhone Last Year. I Reset It And Used It Sort Of Like An iPod. I Got My Phone Taken Away From Me For A Month, I Later Then Forgot My Password. I Set My iPhone As Reset If Password Incorrectly Entered 10 Times. While Trying To Unlock My iPhone, I Entered My Password Incorrectly For The 10th Time. It Facotry Reseted. Now I Tried To Restore It But Failed. I Connected My iPhone To iTunes And iTunes Failed To Assist Me. Now I Connected My iPhone To My Wifi And Still Failed To Assist Me. But Earlier, I Tried Again With My Wifi And It Said SIM Card Is Not Able To Be Read. My T-Mobile SIM Card , I Have Been Using For A While In My Phone Non- Activated. Now, I Will Getting It Activated This Weekend. But I Pondering Wether My Phone Is Compatiable With T-Mobile, Because Of My SIM Card.

    See this migrate iTunes library post for general principles.
    You can copy the entire iTunes folder over from one computer to another using your network. You ought to invest in an external drive for backup. Hard drives can and do fail, often without any prior warning. You can redownload your qualifying past purchases from the iTunes store on demand, with the proviso that the content is still in the store. Content owners are free to withdraw any items without notice at any time. Disney did so recently for example.
    tt2

  • How to get functionID/Name of the current page

    Hi guys,
    I have two EBS standard forms "Supplier Entry" and "Supplier View Only" defined as two separate functions in the menu. Depending on which function was launched by the user I have to do some extension.
    I found that following code can be used to know whether function is available in the menu or not. But the problem occurs in situation where both functions are available to the user and since the logic fail.
    FunctionSecurity funcSecurity = pageContext.getFunctionSecurity();
    boolean isFunc1 = funcSecurity.testFunction(funcSecurity.getFunction("YOUR_FUNCTION_SHORT_NAME1"));
    I need to know specifically which function was used to launch the form.
    On the following post https://forums.oracle.com/message/10468620#10468620 Parag tell something like this
    ( "IMC_NG_ORG_CONTACTS".equals(pageContext.getParameter("ImcLandingFunction"))
    but I don't know what  "ImcLandingFunction" equates to in my scenario. I don't see AOL functions passing any parameters to forms.
    or is there any other method to know?
    Can anyone help?

    did you try these ones ? :
       pageContext.getFormSubmitName();
       pageContext.getFunctionId();

  • How to I get my contacts from the iCloud  to my new phone

    I am having problems with my new iphone5 the lady in the shop saved all my contacts on the iCloud and said I could get them once I have started up my new phone.does anyone know how I can get my contacts from the iCloud to new iPhone. Thanks

    It depends on how she saved them on iCloud.  Check your contacts on icloud.com from your computer.  If they are there, all you need to do is go to Settings>iCloud, sign in with your iCloud ID, then turn Contacts to On. 
    If your contacts aren't on icloud.com, she may have simply backed up your phone to iCloud.  If that's the case, you would have to restore the backup to your new phone by going to Settings>General>Reset, tapping Erase All Content and Settings (which will erase the phone), then go through the setup screens on the phone and when given the option, choose Restore from iCloud backup.

  • I enabled my older 2014 version of Bridge. How do I undo that and enable the current Bridge?

    I was asked if I wanted to enable my 2014 version of Bridge and said yes which I now realize was a mistake. How do I get it back to the current 2015 version of Bridge?

    There is only one version of Bridge, and that is CC.  It has not been updated except for Adobe Camera Raw 9.0  Do you mean Lightroom?
    If so you should know Lightroom CC is a separate install. LR 5.71 is still installed.

  • I need to replace my laptop Hard drive.  How do I get my iTunes off the old hard drive to an external so I can put it back on the new hard drive?

    I need to replace my laptop Hard drive.  How do I get my iTunes off the old hard drive to an external so I can put it back on the new hard drive?

    Type move itunes library into the google serach bar.
    It has always been very basic to always maintain  abackup copy of your computer.  Do you not have a backup copy?

Maybe you are looking for

  • Unknown error -42110

    Since some time I get this error message when starting iTunes on my Dell XPS with Windows 7. iTunes seems to work without any problems after I klicked the OK button. I've already tried to process iTunes as administrator. When doing so the message doe

  • Connecting the I-touch to home network

    Hello Everyone. I'm having trouble connect my wife's i-touch to the house router which is a Linksys 2.4ghz Model wrt54G. The i-touch is version 3.1.3 (7e18) model MC086LL the wireless is enable but there are about 9 different channels (speeds) that I

  • Re-sizing document window, panel windows

    I'm working on an iMac and when I open Fireworks CS5, the document window expands to almost the full screen.  The panels like the properties panel also expand to fit the width of the screen. I want to make these smaller.  But there are no re-sizing h

  • Debug weblogic jsp with jbuilder4EE

              Hi,           Is it possible to debug an J2EE application based on jsp /JBeanProxy/ EJB (weblogic 5.1) using jbuilder4 EE ?           Currently, I've only managed to use the tomcat module which is provided with JBuilder4 and           debug

  • Strange issue division left out

    This is a strange one I don´t have a clue why this is happening, for some reason a division is left out on a UL LI on this page http://216.219.94.105/divs.htm You can see the screen grabs: Firefox(problem): http://216.219.94.105/FF.jpg IE (fine): htt