Long parameters via POST

Is there any way to pass long text parameters with POST method instead of sending it part of url ..
Either by using f? format url ..something like this ..
<form name="input" action="http://ApexServerName:Port/apex/f" method="POST">
<input type="hidden" name="app" value="118"/>
<input type="hidden" name="page" value="1"/>
Long text : <input type="hidden" name="F1_MYLONGTEXT" value="My long text"/>
Long text2 : <input type="hidden" name="F2_MYLONGTEXT" value="Another long text"/>
<input type="submit" value="Submit" />
</form>
OR by using wwv_flow.accept directly -
<form name="input" action="http://ApexServerName:Port/apex/wwv_flow.accept" method="POST">
<input type="hidden" name="p_flow_id" value="118"/>
<input type="hidden" name="p_flow_step_id" value="1"/>
<input type="hidden" name="p_request" value="CREATE"/>
Long text : <input type="hidden" name="F1_MYLONGTEXT" value="My long text"/>
Long text2 : <input type="hidden" name="F2_MYLONGTEXT" value="Another long text"/>
<input type="submit" value="Submit" />
</form>
(Problem with this approach is that wwv_flow.accept procedure accepts only internal name of the items like p_t01 etc and not item name F1_MYLONGTEXT defined on the page).
Will any of these work ? Is there anyway to do this ?
I have a html form with some text area.. when user clicks on submit I want it to send that to an apex page(form).
Please advise.

hi,
You can use that item value directly to other page. Just set the save session state to be checked for that page which pages item you used.
Thanks,
Kartik Patel
http://patelkartik.blogspot.com
Edited by: Kartik Patel on Jun 21, 2011 12:15 AM

Similar Messages

  • Passing Parameters via Post Method from Webdynpro Java to a web application

    Hello Experts,
    I want to pass few parameters from a web dynpro application to an external web application.
    In order to achieve this, I am referring to the below thread:
    HTTP Post
    As mentioned in the thread, I am trying to create an additional Suspend Plug parameter (besides 'Url' of type String) with name 'postParams' and of type Map.
    But when I build my DC, I am getting the same error which most of the people in the thread have mentioned:
    Controller XXXCompInterfaceView [Suspend]: Outbound plug (of type 'Suspend') 'Suspend' may have at most two parameters: 'Url' of type 'string' and 'postParams' of type 'Map'.
    I am using SAP NetWeaver Developer Studio Version: 7.01.00
    Kindly suggest if this is the NWDS version issue or is it something else that I am missing out.
    Also, if it is the NWDS version issue please let me know the NWDS version that I can use to avoid this error.
    Any other suggestion/alternative approach to pass the parameters via POST method from webdynpro java to an external web application apart from the one which is mentioned in the above thread is most welcome.
    Thanks & Regards,
    Anurag

    Hi,
    This is purely a java approach, even you can try this for your requirement.
    There are two types of http calls synchronous call or Asynchronous call. So you have to choose the way to pass parameters in post method based on the http call.
    if it is synchronous means, collect all the values from users/parameters using UI element eg: form and pass all the values via form to the next page is nothing but your web application url.
    If it is Asynchronous  means, write a http client in java and integrate the same with your custom code and you can find an option for sending parameters in post method.
    here you go and find the way to implement Asynchronous  scenario,
    http://www.theserverside.com/news/1365153/HttpClient-and-FileUpload
    http://download.oracle.com/javase/tutorial/networking/urls/readingWriting.html
    http://digiassn.blogspot.com/2008/10/java-simple-httpurlconnection-example.html
    Thanks & Regards
    Rajesh A

  • Pass parameters via POST in WDPortalNavigation.navigateAbsolute method

    Hi,
    how can i pass parameters via POST method from WD Application using WDPortalNavigation.navigateAbsolute method
    Should i pass the parameters as part of the NavigationTarget URL or they should be passed via different parameter?
    Thanks,
    Yuly Roberman

    What is the procedure to pass parameters via POST using WebDynpro ?
    I am required to pass XML Data via POST.
    I have gone through the following :
    a) http://help.sap.com/saphelp_nw04/helpdata/en/9e/a073001903c9419592b14c2aa63669/content.htm
    b) Inter Navigation Application in Web Dynpro
    However, I could not find any reference to do the same via POST.
    Can anyone throw light on the same ?
    Best Regards,
    Subramanian V.

  • Parameters via POST using WebDynpro ?

    Hi all,
    I need to pass parameters between two web dynpro applications of length bigger than the limit that HTTP GET method allows.
    I'm thinking to use HTTP POST method or HTTP Session to share data.
    Anybody knows if web dynpro provides a way to handle this?
    Thanks in advance,
    Diego.

    Hello Diego,
    From where are you getting startup parameters initialy? Or are they hardcoded?
    More information about "transient attributes" https://media.sdn.sap.com/javadocs/NW04/SP9/ume/com/sap/security/api/IUser.html (methods getTransientAttribute and setTransientAttribute). The main feature of transient attributes is non-persistance. They are not stored.
    Best regards, Maksim Rashchynski.

  • Passing parameters to servlet via POST

    Hi everyone,
    I'm using OAS 4.0.8.2 and I need to send parameters to a servlet via POST (html form), the form tag must be something like:
    <form action="MyServlet?param1=x&param2=y method="POST">
    but in MyServlet.doPost method the parameters (param1 and param2) are empty.
    Anyone know if this is an OAS bug or a bad configuration of OAS?
    thanks in advance
    null

    Hi,
    I suggest you to use hidden fiels in your form to send param1 and param2 to the servlet.
    Good luck...

  • Pass URL parameters from BSP to WDA for ABAP (via Post   )

    Dear Gurus,/ Joerge,
    I am unable to post my Code here, but with the guidance provided by Joerge i am able to solve this
    i Have been through the Below thread
    Pass URL parameters from WD to BSP via Post
    Dear Gurus,
    "Since I am unable to Post new thread i am Continuing this thread, though this Issue has been
    " resolved,i need some more info on the following issue, Kindly guide me,
    I have gone through the below thread but left with no clue
    Pass URL parameters from WD to BSP via Post
    Here i have 2 Issues
    First one is --->
    " After pressing the Button I am calling this URL which is WDA for ABAP
          action="http://company/sap/bc/webdynpro/sap/zuser"> " I am calling WDA for ABAP URL here
    " Kindly guide me how to pass the Value
    Second one is -->
    " This value need to be passed to the URL above and
    " How to capture the Same in WINDOWINIT method of WDA for ABAP
    " And how to Capture this Value in Webdynpro INIT method
    "Here am using Form and method = post , I am removing this as it is causing some problem while posting
          action= my WDA For ABAP URL here " I am calling WDA for ABAP URL here
    " Kindly guide me how to pass the Value
    " This value need to be passed to the URL above and
    " How to capture the Same in WINDOWINIT method of WDA for ABAP
    Thanks and Regards
    Ramchander Rao.K

    Hi,
    let me see if I understand you well.
    BSP -
    You wrote the code for catching the user name in the event OnCreate, which means that you know who´s working with the BSP application when it starts.
    Somewhere you must have a button or something with text like "Call WDA application". When user presses the button, it triggers events OnInputProcessing. Here you must write the code for the cookie that "sends" the parameter(s), something like:
    CALL METHOD cl_bsp_server_side_cookie=>set_server_cookie
      EXPORTING
        name                  = 'MY_COOKIE'
        application_name      = 'ZUSER_NAME_GET'
        application_namespace = 'ZUSER_NAME_GET'
        username              =  sy-uname
        session_id            = 'SAME_FOR_ALL'
        data_value            = PAGE_DATA
        data_name             = 'PAGE_DATA'
        EXPIRY_TIME_REL       = 3600.
    you call then the URL for the WDA application.
    WDA -
    probably in method WDDOINIT of the component controller you´ll write the code for reading the "content" of the cookie:
    CALL METHOD cl_bsp_server_side_cookie=>get_server_cookie
      EXPORTING
        name                  = 'MY_COOKIE'
        application_name      = 'ZUSER_NAME_GET'
        application_namespace = 'ZUSER_NAME_GET'
        username              =  sy-uname
        session_id            = 'SAME_FOR_ALL'
        data_name             = 'PAGE_DATA'
    CHANGING
        data_value            = PAGE_DATA.
    read more about the cookies in SDN, because I am not sure if this is the correct example for transmiting values. I´ve used it in conjunction of instructions IMPORT and EXPORT for transmiting an internal table.
    if this is not working properly, then try with IMPORT TO MEMORY and EXPORT FROM MEMORY.

  • Is it possible to send data to ITS via POST?

    Hi guys!
    I need to call SAP transaction via thin client and I need to make a call via POST, cos' I need to send there some data to process. Is it possible?
    Thanx, Peter

    Hi Peter,
    First some information about parameter transfer with ITS in general.
    http://server:port/scripts/wgate/<service name>/!?transaction=<transaction_name>&<inputfieldname1>=<value1>&<inputfieldname2>=<value2>&okcode=<okcode>
    The parameters can als be transferred as POST parameters. For this you need a form e.g.
    <form name="<form name>" method="post" action="`wgateURL() ...
    You might get some ideas by studying the login.html in the templast folder system of your ITS instance.
    Thanks and regards,
    Dieter

  • BT Sport No Longer Available via Aerial...

    I'm guessing this is old news but I never saw any announcements.
    My parents have received a letter saying BT Sport is no longer available via the aerial and now has to come via Broadband. The letter says future BT Sport viewing needs to be either by an ethernet connection or via the powerline adaptors. My folks currently have their Vision box connected by the latter means - but BT Sport doesn't work. The message on the TV says a direct connection via Ethernet is needed (unlike the letter, the on-screen message doesn't mention power adaptors).
    Reading a few posts here I get the impression that there's another factor - BT Infinity. If they aren't on Infinity will this mean they can't get BT Sport via the TV anyway, even if they were to run a gert long ethernet cable round the house?
    Next question - were they on Infinity (I suspect they won't go this far and BT will lose a customer back to Sky) will they be able to use Powerline Adaptors? Their router / phone socket in is nowhere near the TV.
    I assume all of this is going to apply to me, too, though I'm yet to receive a letter and, unlike my parents, can still see BT Sport on channel 58.
    I also see there's now a charge for Net Protect Plus. It's starting to feel like a screw is turning...
    Cheers
    Derek

    Derek_R wrote:
    My folks contacted BT and were told they needed new Powerline Adaptors but also needed to be signed up for BT TV.
    So, they signed up, despite being existing Broadband customers and despite having enjoyed BT Sport via the aerial for the last six months or more.
    mmm... I'm not sure I would have been quite so quick to rush into signing up to any new contract.
    In normal circumstances you do need to have your account registered for the BT TV service in order to receive the BT Sport channels on the BT TV box. New customers have to sign up to either TV Essential (£5) or TV Entertainment (£7.45).
    However, some existing customers are on older TV packages. Some are even on an old package that was effectively TV PAYG and had fixed costs of £0 per month. I'm not sure if there were any limitations on who could add the free BT Sport via the TV aerial.
    It would be strange to be able to receive the BT Sport channels via the TV aerial and viewing card without being on some sort of TV package and hence the BT TV service being registered for the account. Is it possible that was an old TV PAYG type deal?
    I think you really need to identify exactly what the situation was before the new contract was started. It's possible the new contract was unnecessary, but I can't really give an answer to that. 
    I would also go back and look over the original e-mail. Did it give any small print or links to terms and conditions saying that some customers would have to take out a new BT TV contract at additional cost? The change was being driven by BT and the customer wasn't asking for any change.

  • How to convert get parameters to post

    hi,
    i have a problem in adding parameters to url
    it is not executing all the parameters as the length is too long
    so i read in help file that if lenght is too long we need to convert get parameters to post
    can any one tell me how to do that its urgent
    http://sapwin2.agi.com:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=y_test_w001_q&BI_COMMAND_1-BI_COMMAND_TYPE=SET_ITEM_PARAMETERS&BI_COMMAND_1-VISIBILITY=HIDDEN&BI_COMMAND_1-TARGET_ITEM_REF=ANALYSIS_ITEM_1
    please tell me how to convert to post parameters

    Hi,
    in standard HTML post and get are the two methods sending data from one page to another. While method get the parameter to the URL after "?" and seperated by "&" method post is using an HTML-form.
    In your case I would suggest to implement a form with hidden fields named by your parameters and containing the values. By clicking the submit button, the hidden fields are transmitted as post parameters.
    example
    <html>
    <head> </head>
    <body>
    <form name="test" action="http://sapwin2.agi.com:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex">
    <input type="hidden" name="TEMPLATE" value="y_test_w001_q">
    <input type="hidden" name="BI_COMMAND_1-BI_COMMAND_TYPE" value="SET_ITEM_PARAMETERS">
    <input type="hidden" name="BI_COMMAND_1-VISIBILITY" value="HIDDEN">
    <input type="hidden" name="BI_COMMAND_1-TARGET_ITEM_REF" value="ANALYSIS_ITEM_1">
    <input type="submit>
    </form>
    <body>
    </html>
    Hope this helps.
    Regards Michael

  • Call a Servlet via POST from a Stand alone Java App

    Hi guys.
    Right now I am facing a tricky problem I hope you can help me on this...
    What I want to do is to call a servlet that is listening ( I can't touch the servlet code) in a web browser.
    I was able to send a GET request by a code like this:
    URLConnection conn = new URL(webServerStr).openConnection();
    conn.setDoOutput(true);
    OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
    wr.write(webServerStr);
    wr.flush();
    and everthig was all right.
    The problem arises when I try to send a long REQUEST via my java app. I get a 414 HTTP error (414 - Request-URI Too Large ). When I do the long request by browser works fine. (when I fill all the form and press the submit button)
    The only difference between the browser request and my java request is the ACTION. From the FORM is POST and when I build the string to send it out to the web server is via GET ( I build the string like ?ATTR=VALUE&ATTR2=VALUE2....)
    Here is my question. How I do a POST request from a java application?
    Any ideas?
    Thaks guys and any help will be appreciate.

    URL url = new URL("http://localhost:8080/");
    HttpURLConnection con = (HttpURLConnection)url.openConnection();           
    con.setStuff(...............................check out api
    con.setDoOutput(true);
    con.connect();
    // write stuff
    PrintWriter pw = new PrintWriter(con.getOutputStream());
    pw.println(depart);
    pw.flush();
    pw.close();
    // read reply
    BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream()));
    String res = br.readLine();

  • Calling a new browser window with WD Abap and passing data via POST

    Hi there,
    does anybody know whether passing data via POST method is possible when opening a new browser window from within a Web Dynpro Component? In my case I use method IF_WD_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW for opening a new browser window. Now I want to pass a big amount of data which is only possible via POST method. How can I achieve that or is it not considered inside the Web Dynpro Framework?
    Kind regards,
    Albert

    Hi Priya,
    can you please explain a little bit more what you mean? I didn't get it..
    Kind regards,
    Albert

  • After publishing I can no longer see the poster frame on QuickTime

    I cant figure out why after publishing to the web (MobileMe), I can no longer see the poster frame on the QuickTime movie that I made. When I publishing to a folder on the mac to check my results I can see the poster frame, so it is only happening when i am publishing to the web. Does anyone have any idea why this is happening or have a solution?
    Thanks
    Chris

    You cannot delete this icon as its preinstalled on the iPhone. You may have inadvertently moved it to another page or into a folder. I would suggest you look on all the pages and in all folders or alternatively do a search on your iPhone. It will at least tell you if they are still there but unfortunately not where. You could also do a home screen layout reset settings>general>reset>reset home screen layout.

  • My iPhone 5 will no longer connect via bluetooth to Fitbit Flex or wireless headset

    My iPhone 5 will no longer connect via bluetooth to my Fitbit Flex aftering updating to ios 7.  Apple phone support had me completely erase and set my phone up again as new to restart bluetooth pairing, then restore again through iCloud.  Worked last night but same problem today.  It also will no longer connect to my wireless headset in my car.  Of course I'm now 5 days over my 1 year warranty as well.  Any ideas?

    Delete the pairing from both devices then pair them again.

  • How to upload large file with http via post

    Hi guys,
    Does anybody know how to upload large file (>100 MB) use applet to servlet with http via post method? Thanks in advance.
    Regards,
    Mark.

    Hi SuckRatE
    Thanks for your reply. Could you give me some client side code to upload a large file. I use URL to connect to server. It throws out of memory exception. The part of client code is below:
    // connect to the servlet
    URL theServlet = new URL(servletLocation);
    URLConnection servletConnection = theServlet.openConnection();
    // inform the connection that we will send output and accept input
    servletConnection.setDoInput(true);
    servletConnection.setDoOutput(true);
    // Don't used a cached version of URL connection.
    servletConnection.setUseCaches (false);
    servletConnection.setDefaultUseCaches(false);
    // Specify the content type that we will send text data
    servletConnection.setRequestProperty("Content-Type",
    +"application/octet-stream");
    // send the user string to the servlet.
    OutputStream outStream = servletConnection.getOutputStream();
    FileInputStream filein = new FileInputStream(largeFile);
    //BufferedReader in = new BufferedReader(new InputStreamReader
    +(servletConnection.getInputStream()));
    //System.out.println("tempCurrent = "+in.readLine());
    byte abyte[] = new byte[2048];
    int cnt = 0;
    while((cnt = filein.read(abyte)) > 0)
    outStream.write(abyte, 0, cnt);
    filein.close();
    outStream.flush();
    outStream.close();
    Regards,
    Mark.

  • CVS extension no longer available via "Check for Updates" ?

    Hi,
    It seems that CVS (or any other Versioning support tools) SQLDev extension are no longer available via "Check for Updates".
    I've just downloaded 2.1.1.64 and tried to setup whatever extensions we used to use and they simply do not appear in the list.
    Can this extension be downloaded as a bundle and installed from local file? Where from?
    Oracle SQL Developer 2.1.1.64
    Version 2.1.1.64
    Build MAIN-64.45
    IDE Version: 11.1.1.2.36.55.30
    Product Version: 11.1.1.64.45
    Java(TM) Platform 1.6.0_11
    Oracle IDE 2.1.1.64.45
    Versioning Support 2.1.1.64.45
    Cheers
    Arek
    Edited by: Arek on Oct 12, 2010 7:11 PM

    Thank you, Sue. Much appreciated.
    FYI. I've just downloaded SQLDev 3EA release and I'm still facing the same problem.
    Default Update Centers available are:
    1) Oracle SQL Developer ( http://www.htmldb.oracle.com/pls/otn/f?p=raptor:updates )
    2) Oracle Extensions ( http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/162031.xml )
    3) Third Party SQL Developer Extensions ( http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/162031.xml )
    When I mark the first two all I get at the next screen is two entries:
    Oracle Product Extensions for SQL Developer   (Hide) (- which is simply a header I suppose)
    Oracle Rdb Extension 7.3 (Details)
    The CVS extension jars can be copied from previous SQLDev installations (download used to work a couple of releases back), but it should be still available for download via "Check for Updates" or bundled with the product itself.
    Regards
    Arek
    Edited by: Arek on Oct 15, 2010 2:05 PM

Maybe you are looking for

  • License server refimpl install

    Hello everybody! We got trial Flash access license server. We decided to enroll reference implementations first to test FA potentialities. For this purposes we have debian linux 2.6.26-2-xen-amd64 x86_64 with FA_2 distrib copied to it. jdk1.6_20, MyS

  • Trying to move inner class to a class file

    Hi folks, I keep getting an error which puzzles me. I cut the following class (MyDocumentListener) out of an outer class (CenterPanel). MyDocumentListener compiles OK but... Now when I compile the outerclass I get the folowing error: C:\divelog> java

  • Run OS command from Oracle

    Hi All!! Which package can help me to run OS command from SQL script? Thanks.

  • Bex and BO integration

    hi folks, I have some doubts. we have some features like exceptions,conditions,filters, and customer exit variables,replacement paths..etc in bex. and here my questions if my bex query contains the above and accessed in Webi, then same result will  a

  • Dear Adobe.....  Please support FlashPaper again!  Useful product.

    If you don't want it standalone, then stick in in the Flash Programs, or maybe Dreamweaver also? Please....  I'm about to update to Windows 7 and I want to be able to use FlashPaper.  I'm scared the workaround won't work, especially if I'm on 64bit.