Passing get or post parameter with getUrl()

Hello I need to pass get or post parameter with getUrl, the
help say that:
firstName = "Gus";
lastName = "Richardson";
age = 92;
getURL("
http://www.macromedia.com",
"_blank", "GET");
but it dosen't work! I dont anderstan where I have to tell to
getUrl wicht variavle it have to send in the get? Where can I tell
to the getUrl function, the variables to send are firstName,
lastName and age, per example?
Thanks, can you

I want to send the variables to an html page, but I don't
know how to do this? Can you help me please?

Similar Messages

  • Get all POST parameter

    Hi
    I want to log every call to my procedure which are coming from the web (over Apache and mod_plsql).
    To save all important data I want to save the procedure name and the HTTP parameter into a logfile.
    I must do this in the session validation procedure so I have no access to the parameters passed to the previously called procedure.
    If I would only use GET parameter then it would not be a problem, because I could get the whole query string from the environment variable QUERY_STRING.
    But how do I get the parameter passed with POST?
    Unfortunately I cannot change anything on the server (neither Apache nor mod_plsql).
    Is there any possibility to get the POST parameter with PL/SQL?
    Any hints are appreciated!
    Thanks!

    I'm sure the answer is in the Oracle mod_plsql manual:
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14337/toc.htm
    Cheers,
    Colin

  • Having problems passing more than one parameter with html:link tag

    Hi guys,
    for my web application I�m using Struts. I�ve got a database with user details. I would like to get users list and link to the details of each user. I wrote the code and everything is working fine only the users list is repeating as many times as users in the list.
    For ex: I have in the database User1, User2 and User3. I would like to have a result like:
    User1
    User2
    User3
    Instead of it I have the result like:
    User1
    User2
    User3
    User1
    User2
    User3
    User1
    User2
    User3
    What I�m doing wrong? Could somebody help me please?
    Thank you in advance
    There is a snippet of the code, which I�m using in jsp:
    <code>
    <logic:iterate id="root" name="user">               
                   <%
                        java.util.HashMap users = new java.util.HashMap();
                        params.put("user",root);
                        pageContext.setAttribute("usersName", users);
                   %>
                   <html:link name=" usersName " scope="page" page="/name.do">
                        <logic:iterate id="folder" name="user">
                             <bean:write name="folder" /><br>
                        </logic:iterate>
                   </html:link><br>
                   </logic:iterate>
    </code>

    Suggestion: next time you post code use the "CODE" button to put code tags around it. It formats much nicer that way :-)
    You have a nested loop structure here.
    <logic:iterate id="root" name="user">
      <%
        java.util.HashMap users = new java.util.HashMap();
        params.put("user",root);
        pageContext.setAttribute("usersName", users);
      %>
      <html:link name=" usersName " scope="page" page="/name.do">
        <logic:iterate id="folder" name="user">
          <bean:write name="folder" /><br>
        </logic:iterate>
      </html:link><br>
    </logic:iterate>Both loops iterate over your "user".
    Your first loop loops over each user.
    Then your second loop also loops over each user - hence you get number of users * number of users = 3 groups of 3.
    If you have 4 users, you would have 4 groups of 4.
    I only see you setting one parameter: "usersName" What other parameters do you need to pass?
    At a guess, the inner loop is unnecessary, and you want to write the users name as the text for the link, and also use it as a link parameter.
    <logic:iterate id="root" name="user">
      <%
        java.util.HashMap users = new java.util.HashMap();
        params.put("user",root);
        pageContext.setAttribute("usersName", users);
      %>
      <html:link name="usersName" scope="page" page="/name.do">
          <bean:write name="user" /><br>
      </html:link><br>
    </logic:iterate>

  • Can you pass more than on variable with getURL in flash form

    I needed to call another page from inside a form not with the submit button and fournd this piece of code
    <cfinput type="button" id="btEdit" name="btEdit" value="View" onClick="getURL('../../forms/Program_populate.cfm?<cfoutput>#SESSION.URLToken#</cfoutput> &Reference='+data.dataProvider[data.selectedIndex]['ID'],'_blank')" >
    "Reference" is passed in the URL, I have tried to tweek this to pass an additional field "ID" , Vendor_Number" , but have been unable to find the correct syntax.  If anyone can help that would be great.
    Thanks,
    Mike

    url variables are passed as follows
    after the file name a question mark (?) then,
    name=value with an ampersand (&) between name value pair
    You may be having problems with escaping the action script code.
    If the value is a coldfusion value just cfoutput the value as in your example.
    If the value is from a form element then you need to escape it as in the example
    remove the comments from below
    getURL('../../forms/Program_populate.cfm?
    <cfoutput>#SESSION.URLToken#< /cfoutput>
    &Reference='+data.dataProvider[data.selectedIndex]['ID']
    // need to add more info so put in the plus and add the text of the url variable name (let's assume the id is from CF)
    + '&ID=<cfoutput>#queryName.ID#</cfoutput>&Vendor_Number='
    //we have add the url variable name above, but let's assume it is coming from a form field
    // then we need to close the string, done above and add the value
    + data.dataProvider[data.selectedIndex]['Vendor_Number']
    ,'_blank')
    Hope this helps.
    If you still have problems, assing all this to a cf variable and output it so you can read what it is to debug it.
    Ken

  • Pass select option and parameter with submit

    Hello,
    I have two programs and what i have to do is to use the selection screen information from program A and submit it to program B so that this second program will generate a report with this information.
    After program B is executed it creates some files in a server, which i will have to use later in program A. I cannot modify the program B since its not part of the requirement.
    But the thing is that i am having problems when submiting a select option and a parameter together.
    It would be really useful if someone could give some examples of this.
    Example of what i want to do:
    SUBMIT PROGRAM_B
    WITH S_MATNR EQ S_MATNR      ->pass all the values from a select option.
    WITH P_WERKS EQ P_WERKS    ->pass a single value from a parameter.
    AND RETURN
    Regards,
    Roberto

    Hi,
    Try this for select-options:
    SUBMIT PROGRAM_B
    WITH S_MATNR *IN* S_MATNR ->pass all the values from a select option.
    WITH P_WERKS EQ P_WERKS ->pass a single value from a parameter.
    AND RETURN
    Hope it helps.
    Regards,
    Gilberto Li
    Edited by: Gilberto Li on Feb 2, 2009 10:24 PM
    Edited by: Gilberto Li on Feb 2, 2009 10:33 PM
    Edited by: Gilberto Li on Feb 2, 2009 10:33 PM

  • Having problems passing more than one parameter with html:li nk tag

    Hi guys,
    for my web application I�m using Struts. I�ve got a database with user details. I would like to get users list and link to the details of each user. I wrote the code and everything is working fine only the users list is repeating as many times as users in the list.
    For ex: I have in the database User1, User2 and User3. I would like to have a result like:
    User1
    User2
    User3
    Instead of it I have the result like:
    User1
    User2
    User3
    User1
    User2
    User3
    User1
    User2
    User3
    What I�m doing wrong? Could somebody help me please?
    Thank you in advance
    There is a snippet of the code, which I�m using in jsp:
    <logic:iterate id="root" name="user">               
                   <%
                        java.util.HashMap users = new java.util.HashMap();
                        params.put("user",root);
                        pageContext.setAttribute("usersName", users);
                   %>
                   <html:link  name=" usersName " scope="page"  page="/name.do">
                        <logic:iterate id="folder" name="user">
                             <bean:write name="folder" /><br>
                        </logic:iterate>
                   </html:link><br>
                   </logic:iterate>

    Why do u need the first iterator
    <logic:iterate id="root" name="user">
    remove that and see the result.
    Bye.

  • Should I get a POST screen with barebones?

    Got a new barebones Wind PC Nettop, popped in RAM, attached known working (but old) VGA monitor (Compaq 460P, built 1994) & keyboard, powered on.
    Blue light on in front.  No VGA image.
    Popped out RAM, did same, and still no VGA image (nor signal, as far as I can tell).
    Removed keyboard - no image.
    Should I be seeing anything?  Is there a minimum spec for the VGA monitor that I need to have?
    Thanks!
    Henry

    Got a new Wind PC.
    Popped in RAM from MacBook I upgraded.  Is labeled:
    NT512T64UH8B0FB-3C  0747.CN
    512MB.2RX16.PC2-5300S-555-12-A2.667
    M207B210ED.X2
    Tried 2 different SIMMS of the same kind.
    Machine never goes into POST.  (Doesn't go into POST without RAM, either, but I'm assuming it needs RAM to go into POST.)
    Any reason this RAM wouldn't work?  I thought it matched the specs.
    Nothing else is in the machine.  I did both the JBAT1 trick and remove the battery trick just in case there was something wrong with the BIOS settings.  Still no POST.
    (The front blue light does come on, and the fan always kicks in immediately, even though it is a cool 60 degrees in this room.)
    Thanks!
    Henry

  • How to get HTTP Post body with text/xml

    There is a HTTP Post like this from a client:
    POST http://local:8080/test HTTP/1.1
    Content-Type: text/xml
    Content-Length: 210
    <?xml version="1.0" encoding="UTF-8"?>
    <CancelOrders>
    <Cancel>
    <ItemID>898980</ItemID>
    <UserName>REM</UserName>
    <DateTime>11/10/2003 06:33:33</DateTime>
    </Cancel>
    </CancelOrders>
    I need to get the content of the xml through servlet.
    What can I do?
    Please help

    Can you put some Duke points here, you might get a response sooner.

  • Passing Parameter using GET or Post in J2ME

    I have a problem passing parameter which has space between character to Servlet through GET or POST method. I am using HttpConnection. Which works properly whenever i sending data without space, else it shows Exception for space in URL.
    If i use trim method which is Client side scrpiting then i am not able to update the database which takes input from the J2ME midlet.
    Can any1 help me how to pass the parameter with space.

    Hi Mark,
    The "number" format relies on the formats supported by the JS
    native Number object. We don't actually do any number parsing
    ourselves in Spry. One workaround, if you need things to sort
    properly, is to have one column that is formatted european numbers,
    and one column that is actually supported by the Number object. You
    can create this custom column by using a filter:
    function DataFilter(ds, row, rowIndex)
    row["@premieNumber"] = new
    Number(row["@premieNumber"].replace(/,/, "."));
    return row;
    Regarding the Request() object and your setURL() call ... the
    3rd arg to setURL is optional, and only necessary if you are going
    to use POST, or specify some header to send. If you do use post or
    want to send some specific header, the 3rd arg just has to be an
    object with only whatever options you want to specify, you don't
    have to specify them all ... the options names exactly match the
    fields defined in a Spry.Utils.loadURL.Request object.
    We do have a utility class that gathers all of the input
    values in a form. You will find it in Spry 1.6 in SpryUtils.js. The
    name of the function to call is:
    var str = Spry.Utils.extractParamsFromForm(form, elements);
    The 2nd arg is optional, and allows you to specify what
    element values you want to retrieve. If it is not specified, it
    gets all values in the form.
    --== Kin ==--

  • 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

  • Pass parameter with apostrophe

    Hi,
    How I can pass parameter with apostrophe to a store procedure.Whats the change i need to make to ' when i am passing.
    Thanks in advance.
    Pramod

    If you are using bind variables, the string should be escaped automatically. If you are not using bind variables, you should be using bind variables.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Mod_security: Access denied with code 405. Pattern match "!(GET|HEAD|POST)

    Hi all,
    After Cloning facing an issue
    mod_security: Access denied with code 405. Pattern match "!(GET|HEAD|POST)"
    and not able to get the login prompt
    EBS: 12.1.3
    DB:11G
    Please help as this is urgent.
    Regards,
    Raj.

    Hi Hussein/Srini,
    My OS details are as follows
    Source OS : OE Linux 5X
    Target : REHL
    DB : 11.2.0.3
    In my previous cloning the R12 login URL was not getting redirected to https from http. This backup was given by client last week and I completed the cloning and post cloning procedures without any error, but unable to login as the page is redirecting to https:/hostname:port/OA_HTML/AppsLogin.
    I have done the following so far, but the issue is not getting resolved.
    1) Generated JAR files using ADADMIN (Force)
    2) Compiled JSP
    3) Ran autoconfig multiple times without any error in both db and application tiers.
    4) DB alert log did not have any error.
    5) Executed relink all from APPL_TOP
    6) Able to launch http://XXXXXXXXX:XXXX/forms/frmservlet?
    Kindly help me out on this
    Regards

  • Send streaming password with GET or POST

    hi!
    we are using a plugin for protools which outputs a quicktime stream for our clients during recording sessions. this stream is password protected. since the client hearing/viewing this stream is already on a password protected site it would be nice to automatically log the user in the stream (to avoid that she has to enter user/passw a second time).
    is it possible to send the password with GET or POST (or another approach) to the quicktime plugin?
    unfortunately it is necessary to password-protect the stream since the url is always the same and another client could use the url to peep into the session.
    thanks in advance
    joerg

    hi!
    we are using a plugin for protools which outputs a quicktime stream for our clients during recording sessions. this stream is password protected. since the client hearing/viewing this stream is already on a password protected site it would be nice to automatically log the user in the stream (to avoid that she has to enter user/passw a second time).
    is it possible to send the password with GET or POST (or another approach) to the quicktime plugin?
    unfortunately it is necessary to password-protect the stream since the url is always the same and another client could use the url to peep into the session.
    thanks in advance
    joerg

  • Passing parameter with apostrophe to sp

    Hi,
    How I can pass parameter with apostrophe to a store procedure.Whats the change i need to make to ' when i am passing.
    Thanks in advance.
    Pramod

    just use double apostrophe
    SQL> var x char
    SQL> exec :x := '''';
    PL/SQL-Prozedur wurde erfolgreich abgeschlossen.
    SQL> print x
    X
    '

  • Passing Enum Parameter , with More than one value ?

    Hi, Good day
    in the fallowing example ,should I replace the enum Parameter with what ? how can i make that work ?
    Module Module1
    Enum Tables as integer
    Table1 = 0
    Table2 = 2
    Table3 = 4
    Table4 = 6
    End Enum
    Public Sub CallTables(byval Tbl as Tables)
    if tbl = Tables.Table1 then msgbox ("Table1")
    if tbl = Tables.Table2 then msgbox ("Table2")
    if tbl = Tables.Table3 then msgbox ("Table3")
    if tbl = Tables.Table4 then msgbox ("Table4")
    end sub
    end module
    Class myClass1
    private sub mySub()
    CallTables(Tables.Table1 and Tables.Table2)
    CallTables(Tables.Table1 and Tables.Table2 and Tables.Table3)
    end sub
    end class
    since the Tbl parameter will take one value only , so one statement only will execute , how can I make it work with Enum Parameter ?
    Thanks

    Thanks guys for you reply , [Cor Ligthert] I post this in Visual basic section, I appreciate your solution [dbasnett],
    Thanks for that idea of attribute <Flags> [Blackwood] ,
    Dictionary will not work in IF Statement as I want it , also ParamArray tbl() , thanks guys.
    Here is the code
    Module myModule
    <Flags()>
    Enum Table As Integer
    Table1 = 2
    Table2 = 4
    Table3 = 8
    Table4 = 16
    Table5 = 32
    End Enum
    Public Sub MySub(ByVal Table As Table)
    If (Table And Table.Table1) = Table.Table1 Then
    MsgBox((Table And Table.Table1))
    End If
    If (Table And Table.Table2) = Table.Table2 Then
    MsgBox((Table And Table.Table2))
    End If
    If (Table And Table.Table3) = Table.Table3 Then
    MsgBox((Table And Table.Table3))
    End If
    If (Table And Table.Table4) = Table.Table4 Then
    MsgBox((Table And Table.Table4))
    End If
    If (Table And Table.Table5) = Table.Table5 Then
    MsgBox((Table And Table.Table5))
    End If
    End Sub
    End Module
    Class Myclass
    Private sub CallTables()
    MySub(Table.Table1 Or Table.Table2)
    MySub(Table.Table2 Or Table.Table3 Or Table.Table4)
    MySub(Table.Table1 Or Table.Table4 Or Table.Table5)
    MySub(Table.Table1 Or Table.Table2 Or Table.Table4 Or Table.Table5)
    MySub(Table.Table1 Or Table.Table2 Or Table.Table3 Or Table.Table4 Or Table.Table5)
    end sub
    end Class

Maybe you are looking for