How to send a dynamic Parameters to an Applet

Hi,
I want to know how can I send parameters dynamically to an applet.
I have a senaria like this,
<applet code="com.test.thinclient.ThinClientApplet" codebase="http://localhost:8090/bluenote/" width="260" height="400" archive="webcaller-01.01.01.00.jar">
<param name="properties" value="http://localhost:8090/test/config/webcaller.properties">
<param name="ui_definition" value="http://localhost:8090/test/config/webphone_ui.xml">
<param name="ss_callback_param_pair_1" value="name,username">
<param name="ss_callback_param_pair_2" value="account,password">
</applet>
In tha above code the server URL will be change,and the username and password also will be chaged dynamically. useraname will be loaded as loggend in user.
How can I send those values dynamiclly.
-Thanks
Bhaskar

Hi,
you have at least the following options:
a) use javascript to exchange information between the browser (or an application) and your applet. The MAYSCRIPT attribute of your applet should be enabled.
b) each time your <param> values changed, reload a "hidden" iframe containing html code with another small applet and modified <param> values. Assuming that the codebase and archive attributes of this and your applet are the same, both applets run in the same context. By registering your applet in a static Hashtable at startup, you can access it later from the hidden applet and send your modified <param> values. There may a little delay because the browser has to load new html content (the applet class itself is loaded just once).
c) simply reload the frame with the applet itself and modified <param> values :-)
Hope that helps.

Similar Messages

  • How to send the dynamically generated XML file to other site for further processing?

    I have a question regarding exchanging data between two systems
    using XSQL servlet. The situation is descrbed as the follows:
    Assume that we have a simple XSQL page named "emp.xsql"
    <?xml version="1.0"?>
    <?-- XSQL page file "emp.xsql" -->
    <xsql:query xmlns:xsql="urn:oracle-xsql" connection="demo" >
    SELECT * FROM EMP
    </xsql:query>
    and we can access it through the HTTP request likes
    http://web_server_name/xsql/emp.xsql.
    Usually we will the returned dynamic XML file and show it on the
    screen. Now the problem is that we don't want to show the
    generated XML file on the calling screen. Instead, we want to
    send the generated XML file to other website for further
    processing, say, using JSP or ASP likes
    http://other_web_server_name/XMLProcessing.jsp?.....
    How can it be implemented using XSQL servlet?
    Any hint and outline of the solution is appreciated.
    Thanks

    Ike,
    Do you have a sample. I am searched so much in this forum for samples. I looked on SAX Parser. I did not find any samples.
    Please help me.
    Thank you for your posting.
    Padma.

  • How do send along hidden parameters from a form action method

    Hi,
    I have a JSP that displays an HTML form with several input types such as cehck boxes, radio buttons, text field and read only text fields. The read only fields are populated from a database. There are also a few hidden parameters that come in from the requesting JSP.
    Now, when I have entered values in the input fields and click on SUBMIT, I want the action to lead to another jsp which will validate the entries and also want the hidden parameters in the html page sent and also want the read only values sent to the validating JSP ....how do I accomplish this ?
    Please help !
    mahesh

    Hmm...I did exactly that in my target jsp..where I used request.getParameter("MODE") where MODE is the key that I had passed into the html using an earlier jsp:forward command....something like "inputform.jsp?&MODE=ADD.....etc.
    but my request.getParameter("MODE") returned null.
    When you say properly formatted within the form and /form tags, I wonder if you could tell me what I need to do to format hidden parameters that have been passed along from an earlier request ?
    Thank you very much,
    Mahesh

  • How to send query parameters using BIApplicationFrame

    HI,
    I am working on integration of BEx WebTemplate in webdynpro view.
    I am using BIApplicationFrame ui element for this.
    I set the template id in template property of BIApplicationFrame.
    I have to execute a query of this template.
    So i selected the option 'query' of dataProviderStateType property.
    <b>How to send the query parameters to that query.</b>
    I did not find any help ( Example tutorial ) for BIApplicationFrame UI element in SDN.
    Please anybody help me out.

    Hi Charan
    I tried to add the costume parameter in BIApplicationFrame same method that you mentioned. But the result is not coming.
    I am trying to pass the input variable for the query.
    My url is:
    http://<host>:<port>/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=BTMP_20100929_054852&DUMMY=8&debug=x&BI_COMMAND=&BI_COMMAND-BI_COMMAND_TYPE=SET_SELECTION_STATE&BI_COMMAND-CHARACTERISTICS_SELECTIONS=&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1=&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-CHARACTERISTIC=ZCUSTOM1&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS=&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1=SELECTION_INPUT_STRING&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1-SELECTION_INPUT_STRING=C07&BI_COMMAND-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF=DP_1&REQUEST_ID=11
    If I execute the url directly the out put is coming perfectly after filtering and if I pass the parameter by adding code in wddomodifyview method the filters not working.
    My webdynpro code given below:
    mapParams.put("BI_COMMAND=&BI_COMMAND-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF=DP_1&BI_COMMAND-BI_COMMAND_TYPE=SET_SELECTION_STATE&BI_COMMAND-CHARACTERISTICS_SELECTIONS=&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1=&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-CHARACTERISTIC=ZCUSTOM1&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS=&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1=SELECTION_INPUT_STRING&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1-SELECTION_INPUT_STRING","C05");
    Appreciate if you can help me on this.
    Sajith

  • How to send query parameters using BIApplicationFrame in WD Java

    HI,
    I am working on integration of BEx WebTemplate in webdynpro view.
    I am using BIApplicationFrame ui element for this.
    I set the template id in template property of BIApplicationFrame.
    I have to execute a query of this template.
    So i selected the option 'query' of dataProviderStateType property.
    How to send the query parameters to that query.
    I am setting the fowlloing values in BIApplicationFrame
    dataProviderStateName: BEx Query Name
    dataProviderStateType: query
    server: server url
    server type: java
    templateid: BEx template id.
    The query screen is opening ..But no data.
    I have to pass the following two parameters to that query:
    BI_COMMAND_1-I_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=ZVARCUST01&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=0500000003
    &BI_COMMAND_2-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_2-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=0I_CMNTH&BI_COMMAND_2-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_2-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=01/2000-12/2002
    How to send these two query parameters using BIApplicationFrame.
    I did not find any help ( Example tutorial ) for BIApplicationFrame UI element in SDN.
    Please help me.

    My problem solved. I used the following code in wdModifyView() method.
    Map parameters=new HashMap();
    parameters.put("BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=ZVARCUST01&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING","0500000003");
    parameters.put("BI_COMMAND_2-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_2-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=0I_CMNTH&BI_COMMAND_2-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_2-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING","01/2000-12/2002");
    WDBIMethods.addCustomParameters(wdThis.wdGetAPI(),"BIApplicationFrame",parameters);

  • Creating dynamic parameters

    Post Author: Deepal
    CA Forum: General
    How do I create dynamic parameters for reports that is created from business view?

    You're making things too hard. First of all as soon as you have two methods with the same name (overloaded methods) you won't know which one to use. And secondly you are asking for a generalized procedure to convert a String into an object of an arbitrary class. Can't be done.

  • How to have dynamic parameters with nonstandard taglib with JSTL

    Hello, I am using webwork 2.2.7, tomcat 4.1 (I have a java 1.4 requirement unfortunately), and jakarta-taglibs-standard-1.0.6 and some nonstandard taglibs and need to pass dynamic parameters to the nonstandard taglibs.
    I can see that the standard taglibs handle the ${foo} syntax for attributes but the nonstandard taglib is just getting set with "${foo}". I really need to set attributes of the nonstandard taglib with dynamic parameters. Is there some combination of c:set and the <%= syntax that can work?
    I have tried the following which does not work:
    <input:selectBox options="${accounts}"/> <!-- the nonstandard taglib just has the options property set as the literal string "${accounts}" -->
    I was thinking something like the following might work but it doesn't
    <c:set var="accounts" value="${accounts}"/> <!-- the core taglibs can deal with ${accounts} appropriately -->
    <input:selectBox options="<%=accounts=%>"/>
    I don't care how but I need to somehow access ${accounts} and set that Collection as an attribute of the taglib. Can anyone please help me solve this problem? Thank you very much.
    This is related to this thread: http://forums.sun.com/thread.jspa?threadID=5389311&tstart=0
    Joe.

    Discussion continued in [the original thread|http://forums.sun.com/thread.jspa?threadID=5389311&tstart=0].
    May as well keep it all together.

  • How to Send Notification to Manager of the Employee using Dynamic Action..

    Hi All,
    I am sending a notification using the Dynamic Action for an Infotype.. I am able to send mail using distribution list but I have a requirement to send the notification to employee manager. I am able to determine the Line Manager ID calling the subroutine in the dynamic action. But I am not sure how to send the notification to the manager.
    If the email's are maintained in distribution list if I specify the text id in the feature M0001 and distribution list the notifications are sent. I am not sure how to pass the line manager id to get the same notification..
    I have seen the option REC1 but infotype 0001 in not having the line manager id..

    Used the Function Module RH_GET_LEADING_POSITION.
    Thanks..

  • How to send an entire HTML, PHP dynamic page using phpmail()?

    How to send an entire HTML, PHP dynamic page using phpmail()
    from PHP website, similar to mail this page or send to a friend
    link?

    Hello,
    Please change the mail address
    "info[at]furkids[dot]co[dot]za" from this thread ^^^look above^^^
    to "[email protected]"
    Thank you

  • How to send mails to "CC" and "BCC" using receiver mail adapter dynamically

    Hi,
    Due to business requirement PI need to send mails dynamically to u201CCCu201D and u201CBCCu201D using receiver mail adapter.
    We have an option to send mails to u201CTou201D dynamically, but are there any option to send mails u201CCCu201D and u201CBCCu201D dynamically.
    Please some help to resolve the issue. Thanks
    Regards,
    Sreeramulu Konjeti.

    Hi Sreeramulu,
    As mentioned by Lucas, you can use the UDF. Inn addition to that, you need to define the Variable Headers under Variable transport binding after enabling the Adapter Specific Message Attributes.
    For the Enabling ASMA, follow the below steps and check for the variable attributes.
    Select the Advanced  tab page.
       To save adapter-specific attributes in the message header of the XI message, select Use Adapter-Specific Message Attributes and Variable Transport Binding.
    The following attributes in the message header are then available for processing:
    ○       User: (technical name: TServerLocation)
    ○       Authentication key: (technical name: TAuthKey)
    The following mail header fields are available for processing:
    ○       From: (technical name: THeaderFROM)
    ○       To: (technical name: THeaderTO)
    ○       Cc: (technical name: THeaderCC)
    ○       Bcc: (technical name: THeaderBCC)
    ○       Subject: (technical name: THeaderSUBJECT)
    ○       Reference to the mail that is to be replied to: (technical name: THeaderIN-REPLY-TO)
    ○       Reply to: (technical name: THeaderREPLY-TO)
    ○       Mail client program: (technical name: THeaderX-MAILER)
    ○       Send confirmation of receipt: (technical name: THeaderDISPOSITION-NOTIFICATION-TO)
    ○       Priority: (technical name: THeaderPRIORITY)
    ○       Importance of message: (technical name: THeaderIMPORTANCE)
       To transfer further header fields, set the relevant indicator for Variable Header. The technical names for the fields are XHeaderName1, XHeaderName2, and XHeaderName3.
    The parameters are included in the mail header under the names specified here.
    The attribute namespace for the adapter is http://sap.com/xi/XI/System/Mail.
    Thanks,

  • How to query repository to determine Dynamic parameters used by a report

    Using BOXI 3.1 SP3
    Windows 2008
    .NET
    SQL 2008 Database
    I would like to query the repository to figure out which report is using which a dynamic parameter and then to figure out the name of that dynamic paremeter.
    The issue is the when I publish a report with Dynamic Paremeters from CR2008 to BOXI, BOXI will automatically create all the underlying connections and also rename the parameters if there is a duplicate.  I have a situation where there were over 100 +reports published and thru repository explorer in CR2008, it's impossible to tell which parameter belongs to which report.
    I would like to find in the repository the name of the dynamic parameters being used by the report.
    If I query CI_INFOOBJECTS, it does have the prompts and the original name (SI_NAME).  I don't know if it's possible thru Query Builder to query and find this result, or whether I need to write some .NET code.  The only hint in CI_INFOOBJECTS that a report has dynamic parameter is thru SI_GROUP_ID = eor://HOECRS02.NA.XOM.COM:6400/AVDGc3Df_G5Ej9HoJqO3V2g
    All dynamic parameters have SI_GROUP_ID populated.....but not sure how to use this unique value AVDGc3Df_G5Ej9HoJqO3V2g  which appears to be a SI_CUID but not sure what to query next to get more information.
    If anyone has a query built already or some code to point me in the right directiion, that would be greatly appreciated.

    The best way to determine what your wattage draw is is to purchase a killawatt meter. They are relatively inexpensive (20-30 bucks).
    http://www.amazon.com/P3-International-P4400-Electricity-Monitor/dp/B00009MDBU/r ef=pdbbs_sr1?ie=UTF8&s=hi&qid=1209640995&sr=8-1
    Glor

  • How to Send WSU:TimeStamp dynamically in BPEL 11g

    I have requirement to send <wsu:Timestamp> dynamically like creation and expiration must be having 5 min difference.
    <wsu:Timestamp>
    <wsu:Created>*2012-06-08T09:18:14Z*</wsu:Created>
    <wsu:Expires>*2012-06-08T09:23:14Z*</wsu:Expires>
    </wsu:Timestamp>
    how to send 5 minutes difference in WSS policies.

    Hi,
    I have created a task flow which will contain all merchant details, and i try to drag this task flow as html form with post request, then i am getting error like nested forms in that page. can any one help how can achive this.
    my requirement is: when user click on submit button then i need to invoke http post request which needs to embedded username and pwd with my form data. it's very urgent pls respond if any one knows.

  • How to send 5th variable to maessage dynamically

    how to send 5th variable to maessage dynamically..
    we have only 4 like msgv1,msgv2,msgv3,msgv4.......
    how to send 5th variable
    thanks in advssssss

    hi,
    as per my knowledge it is not possible because Message texts in table T100 can contain up to four ampersand characters (&) as placeholders. You can replace these at runtime using the WITH addition in the MESSAGE statement:
    MESSAGE ... WITH f1 ... f4.
    The contents of fields f1 ... f4 are then inserted sequentially into the message text in place of the placeholders.
    for more information on messages follow this link.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbaaaf35c111d1829f0000e829fbfe/content.htm
    regards,
    Ashok reddy

  • How to send parameters for POST request in AJAX?

    hi friends,
    I am sunil. I am working on ajax.
    My problem is how to send post parameters in AJAX.
    For GET request. I am using bleow and it is workin fine.
    var url = "GetCurrencyRateController?currid="+CurrId+"&lncurrid="+LnCurrID;
    For POST Requert i am sending as
    var url = "GetCurrencyRateController";
    req.send("currid="+CurrId+",lncurrid="+LnCurrID);
    but it is not working

    Check out the Apache HttpClient package and look for how to use the MultipartPostMethod.
    Here is some sample code:
                HttpClient client = new HttpClient();
                MultipartPostMethod filePost = new MultipartPostMethod("http://localhost:8080/MyApp/Push");
                filePost.addParameter("subName", sub.subName);
                filePost.addParameter("serverName", sub.getServerName());
                File file = new File("C:/dataFile.zip");
                filePost.addParameter(file.getName(), file);
                int code = client.executeMethod(filePost);

  • Need help : how to send 3 parameters over http using Java POST

    I am trying to sending some data to agency company over http using Java POST
    They need 3 parameters and some contents like below
    1. Cmd : cmd=_RequestInsertNewLead
    2 Live : False
    3 XMLData : 3C%3Fxml+version%3D%........
    I already have XML done ,but I don't know how to send these guy over http
    is that like
    this.out = new DataOutputStream(os);
    out.writeBytes("Cmd");
    out.writeBytes(" cmd=_RequestInsertNewLead");
    out.writeBytes(" Live ");
    out.writeBytes("False");
    anyone could give help :)

    First of all, are you getting any exception?
    You didn't put much logging information in your code.
    You can also try this.Instead of doing sos.println(".....") try to build the output string using string buffer.
    Like:
    StringBuffer sb = new StringBuffer();
    sb.append("Some output");
    sb.append("More output");
    sos.print(sb.toString());
    sos.flush();Let me know if this works.

Maybe you are looking for

  • Recording videos with QuickTime

    Is there any way to record videos other than from a video camera, using QuickTime Player Version 7.1.3? I want to record videos already saved on my computer, but when opening a new recorder it says that no recording device is found. Is there any way

  • ISight recording will not be added to iMovie

    I'm having great trouble with iSight recording. When I'm done with the recording, and press "stop", it will not upload the sequence to iMovie. In addition, the picture often freeze or is just black so I have to try many times. Any clue why this is so

  • TS3276 Mail import just stops after about 180 - 250 Mails! What's wrong?

    I just bought a new Macbook and used Migration Assistant to get all my files from my old to my new one. Now, when I open Mail it tells me that it needs to import my e-mails (which is good, I want it to do that). I know that all my mails are on my com

  • Step after getting required OUTPUT

    Hi all, I have been given the required output from the client in an excel spread sheet. Now that I know what kind of out put the client needs: WHAT IS MY NEXT STEP? What do i need to do to find out what fields they are and what InfoObjects they belon

  • Idoc reduction

    Hi all, I want to reduce few segments of the basic idoc matmas05. I have created a new reduced message type in transaction bd53. I have selected the segments which are needed and then saved the reduced message type. But I see no reduction in the Idoc