Set Codebase and href at runtime

Hi,
I want the codebase and href value in the jnlp file to be set at runtime. Anyone have any idea or a piece of code to achieve the same.
Thanks in advance
Pankaj

If you use the JNLP servlet you can use $$codebase and $$name.
See http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/downloadservletguide.html
N.

Similar Messages

  • How to set field width and height at runtime programatically?

    Hi all,
    I want to set the width and height of a report field by reading its values from the database table.
    Is it possible in Oracle reports?
    How to achieve this in Oracle reports 10g?
    Any help will be highly appreciated.
    Thanks .... Best Regards
    Bilal

    You cannot give it a specific value. During design you can set Horizontal and Vertical Elasticity properties to Variable, so the items are automatically scaled when running the report.

  • SAP PI 7.3 Single stack- Set tracing and logging

    Hi experts
    We  have configured a SOAP to SOAP sync scenario in SAP PI 7.3  single stack(Java Only).
    I have sent some test messages from WSNavigator to PI .
    But when i checked  messages in adapter engine, it is showing*"Unable to retrieve payload or you don't have sufficient authorization to view the content" I am able to monitor payloads of Async messages.
    How can we set Logging and trace levels in Single stack PI? I couldn't find any options in RWB os NWA.
    Thanks,
    Dhanish

    Hello Dhanish,
    As it was stated by Kenneth in his post, if you would like to see payload of a synchronous message in Message Display Tool (e.g. from Runtime WorkBench), you should set value of property messaging.SyncMessageRemover.removeBody of J2EE service XPI Service: Messaging System to 'false'. Please note that this affects only synchronous messages in final states (DLVD and FAIL).
    Regarding the second part of your question - logging. In PI 7.3, you can persist the message in Adapter Framework in two ways - stage it or log it. Staging allows you to edit/restart the message later from the stage where the message was persisted and is relevant for asynchronous messages; logging allows you to only display the logged message and is relevant for both synchronous and asynchronous messages. Please also note that staging affects performance of message processing more greatly than logging, extensive staging (e.g. staging on several processing stages) can even be a reason of performance degradation for processed messages, so if you only need to display details of the message on different processing steps in Adapter Framework, logging should be sufficient. Both staging and logging can be configured using properties xiadapter.stage.conf (for staging) and xiadapter.logger.conf (for logging) of J2EE service XPI Adapter: XI.
    Regards,
    Vadim

  • ABAP Proxy Set up and Load balancing

    Hi All,
    We have a SAP ECC 5.0 PRD server in our landscape. I need to set up ABAP Proxy in the server.
    They have implemented Load balancing in the ECC 5.0 PRD server. They have two servers (One Central Server and another APP Server) and one of the servers will be used at any point in time based on load conditions.
    Now where exactly i have to perform the ABAP Proxy set up and how does it work at runtime.
    Thanks in advance.
    Regards,
    Sudharshan N A

    Hey,
        refer to this.
    R3 side
    SLDCHECK
      Use this transaction to access the SLD of XI.
    SLDAPICUST
      Create an entry for respective XI server
      requires hostname, port username and ip.
      Can have multiple enteries for different servers.
      But you can check only one entry.
      based on the entry that is checked, respective SLD API will be triggered from
      SLDCHECK.
    SM59 (T type connections).
      To connect to the SLD you need 2 types of TCP/IP connections.
      1)LCRSAPRFC:-
          In this you require the gateway host(ip address) and gatewayservice(sapgw[system no.])
          YOu also need to give Program ID.
          Entry of corresponding Program ID must be maintained in SMGW.
          IN SMGW Click GoTo->logged on Clients.
          If entry is not there for corresponding XI.
          Create a communication channel in XI, pointing to R3 and give a Program ID
          in the channel. Once the channel is activated, corresponding Program ID wil
          appear in SMGW.
      2)SAPSLDAPI:-
         In this case follow the same porcedure as for LCRSAPRFC.
       As far as the Program ID is concerned te procedure mentioned above is for
       Customized RFC's
       The RFC destinations mentioned here are both standard RFC's
       Hence for these two RFC's no need to Create Program ID's. you just need to
       change the System ID of the Program ID.
       Both these RFC's are maintained in the J2ee server of XI.
    SPROXY.
       In this transcation you can check the Proxies.
       If the proxies are not activated (i.e. if the message interfaces are not active)
       this step is optional
       then you need to maintain one G type RFC destination pointing the resepctive XI server.
       In the G tpye RFC destination give the Ip adress of the XI server in the target
       host and set the path prefix as /rep.
       Goto SPROXY->Goto->connection test-> click on the table SPROXSET.
       In this table maintain enteries for ADDRESS_ONLY_FROM_SPROXSET and IFR_HTTP_DEST
       The values corresponding to these enteries will be the G tpye RFC destination.
    In order to connect R3 to the Integaration server you need to maintain H type
    The default RFC is XI_INTEGRATIONSERVER. In you need to give the Target host entry as the
    Ip address and Path Prefic as.../sap/XI/engine/?type=entry (this you can get from SXMB_ADM of XI)
    You can also create the H type RFc of your own.
    goto SXMB_ADM(r3) and open Integration engine configuration.
    regards,
        Milan

  • Set date and time in UNIX

    what is the command for RunTime.exec() to set date and time in UNIX.
    please help me example
    thanks in advance

    do you mean like this
    Runtime.getRuntime( ).exec("date -s "Tue Oct 23 20:27:26 PDT 2001"")
    anyone who found this is wrong please tell me the correct command.

  • How i can set size of editor at runtime?

    dear all,
    How i can set size of editor at runtime?
    The size of editor is good when I run form on windowX but so small on web . why? have any body call tell me how i can do?
    thank for advance

    Hi there,
    You can use the builtin EDIT_TEXTITEM.
    You can pass x-pos, y-pos, width and height as parameters to that.
    Hope this helps

  • Setting the selectOneChoice value at runtime

    Hi,
    I need to set the selectOneChoice value at runtime. On Page Load I am creating object of RichSelectOneChoice and currencyCode.setValue("USD");
    When I check on runtime it is not showing "USD" as selected item in dropdown where as in background it is sending USD to downstream application.
    How to get the show the value in SelectOneChoice which is selected at runtime in code?
    Thanks in advance.

    Hi,
    Selected value will be taken from the value property of selectOneChoice component, I guess you don't have specified value property. Create a String instance variable in bean and then set the value 'USD' to this variable and then bind it to value property of selectOneChoice component.
    Sample:
    //inside bean
    private String selectedValue;
    //Getter and Setter methods
    //Replace the currencyCode.setValue("USD"); line with the below code
    this.selectedValue = "USD"
    //Finally in jspx page bind this selectedValue to value property of bean
    <af:selectOneChoice value="#{bean.selectedValue}" ... />Sireesha

  • Setting default alert button at runtime

    Setting default alert button at runtime
    Sometime I want Button1 to be default and sometimes I want Button2 to be default.
    Please tell me how to change the default button at runtime.
    Thanks
    Claus Hansen [email protected]

    Beware of a slight bug in at least some versions. If the user dismisses the alert using the [X] close window control it fires a particular button which is not neccesarilly the default one. I always ensure that I make the default button the one which the control fires.

  • Setting Book Default page in runtime

    Hi All,
    How to set Book Default page in runtime.
    My requirement is based on loged in user group name we have to go to that page, in book there are four pages default is 3 page. based on user login we have to go the pirticular page.
    Thanks,
    Venkaata Sarvabatla

    Hi
    I have a similar requirement but the problem i am facing is that the control of the program does not go into the handlePostbackData() method of the desktop backing file. the URL i call from the login JSP is something like: "/../../myDesktop.portal" where myDesktop.portal is the desktop portal file having books and pages. Page1 is the default but based on an input i need to redirect to Page2 instead of landing on the default Page1. I wanted to give the redirect logic in the handlePostbackData() method but the control does not go into the method. I also tried giving sth like : "/../../myDesktop.portal?_nfpb=true&_pageLabel=Page2" but it still renders the (default) Page1.
    Do you have an idea what would I be possible missing out on or doing wrong here. Thanks.
    I am using struts portals.
    Thanks
    GT
    Edited by: 929390 on Apr 23, 2012 7:03 AM

  • I am very annoyed at the Creative Cloud set up and the non-stop issues and problems

    I am very annoyed at the Creative Cloud set up and the non-stop issues and problems!  I am paying monthly for this service and it is constantly failing in some way!  So far in three months I have had to uninstall and re-install Photoshop THREE times because it stopped working properly and Illustrator I have had to do that same to TWICE!  That isn't including the other apps that have had issues!  I don't have the time to constantly be un-installing and re-installing all or some of the Creative Cloud because your developers are not making a product that works consistently for the money you are charging!  It is costing me more than just this monthly fee!  And I am even less impressed with the fact that I cannot email someone for assistance in resolving these issues.  Really Adobe?

    Adobe contact information - http://helpx.adobe.com/contact.html may help

  • How To set Header and Footer in MIDlet screen

    Hi Friends,
    How can i set header and footer in my screens .
    My need is that in header part ,my company's name shuld be display and in footer section "any thing".
    How can i achieve this things plz advice me.
    karan

    Hi Supareno,
    Can u tell me in details with small code, If it's
    possible for you .
    regards
    karandefine an header (coordinate 0,0)
    optional {
    a CustomItem? (coordinate 0, 0+header.getHeight() )
    another CustomItem ? (coordinate 0, CustomItem.getY() + CustomItem.getHeight() )
    etc...
    define footer (coordinate 0, getHeight() - footer.getHeight() )
    Message was edited by:
    supareno

  • How to set-up and use FAMILY Sharing

    Can someone please explain to me in detail how to set-up and use FAMILY Sharing, none of the information I have so far found in the documentation helps at all, in fact it puts you in a constant loop giving the same information over and over again
    We have quite a few devices from ipads, iphones and ipods and I need to set-up Family Sharing.
    We have our main Apple ID which is linked to our Payment method, I have now got my son a new iPad, I have created his Apple ID and set-up a link via FAMILY Sharing to our main Apple ID.
    From what I read we should be able to share our purchased Apps between family members.
    So I figured I would be able to get the Apps now via iTunes that are part of the FAMILY Sharing, however when I go into ITunes (latest version downloaded yesterday) I can only see the Home sharing menu item not FAMILY Sharing, so I cannot work out in Itunes how to get Apps that are FAMILY shared.  So ok I will try and get Apps directly via the Ipad using the App Store.  To test it is working I look for a known paid for App, I then go to download it and it is now asking me to pay for it again. 
    Can someone please explain to me in detail how FAMILY Sharing is supposed to work and how I get it to work please.
    Thanks for your help
    Greg

    Hey GregWr,
    Thanks for the question. The following resources provides some of the best information regarding Family Sharing. Included, you’ll find information on making sure the accounts are set to "Share my purchases”, as well as information on downloading Family Member purchases from the iTunes Purchased section. Please note that some applications are not shareable.
    Sharing purchased content with Family Sharing - Apple Support
    http://support.apple.com/en-us/HT201085
    Which purchased content can I share using Family Sharing - Apple Support
    http://support.apple.com/en-us/HT203046
    If you don't see your family's shared content - Apple Support
    http://support.apple.com/en-us/HT201454
    Thanks,
    Matt M.

  • HT1386 I have a new iPhone and want to purchase a ringtone on iTunes.  It keeps asking for answers to a question that I did not set up and don't have the answer for.  How do I get pass this dilemma?

    I have a new iphone and want to purchase ringtones from itunes.  Itunes is asking answers for security questions I did not set up and I can't answer them.  How do I get past this to be able to purchase.  I can purchase songs on my MAC and sync but itunes doesn't give the option to purchase ringtones on the MAC, just the iphone.

    If the email hasn't arrived after a few hours and isn't in a spam filter, you need to ask Apple to reset your security questions; this can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (106007)

  • HT204407 my 2 daughters and I are sharing one icloud.  I am trying to set up and use find my friends with them, but it won't let me.  It says I can't send a request to myself when I send one to her email address, which is different than mine.  What am I d

    my two daughters and I have iphones.  I am trying to set up and use find my friends with them. We have 1 icloud, but different emails.  When I send a request it states that I can't send a request to myself.  What am I doing wrong

    Sharing an Apple ID is never recommended for these reasons.
    They can create their own: http://appleid.apple.com and you can add them at the addresses they use for their ID.
    Sharing an Apple ID is not recommended because all of your data gets merged and when it gets deleted from one device, it deletes from them all, such as Contacts.
    iCloud Guide

  • SET PARAMETER AND GET PARAMETER

    What is the difference between Set parameter and Get parameter?

    Hi,
    Set parameter is used to put some value into ABAP memory area, get paramter is used to retrive values form ABAP memory.
    refer the below sample code.
    here i am taking one material number and i am passing that mateial number by using 'set parameter id', the material number will be stored in ABAP-memory area 'MAT', and then i am calling the Tcode 'MM03', after executing the Tcode  (from program) automatically 'MM03' will reads that material number from that ABAP-memory area and it will displays the 'MM03' tcode along with material number.
    you can find the parameter-id's from data element of that field.
    parameters: p_matnr like mara-matnr.
    set parameter id 'MAT' field p_matnr.
    call transaction 'MM03'.
    Reward if useful.
    Thanks,
    Sreeram.

Maybe you are looking for

  • NEW UPDATE STILL MESSED UP!!!

    My phone is already acting up since the update last night. LED light doesn't flash anymore when I have notifications, "silence all" mode missing again from the main power button, now there's only Airplane made, power off and restart. Who knows what t

  • I asked this in the airport community, but I think it might belong here

    I recently went Wireless with airport express(Sat 4/14).  It is working fine with my iPad2, but for some reason, I don't understand it seems like my iMac loses the network and I have to go find it again.  choose it, set the security and give it my pa

  • Person is already being processed by in while updating an infotype through

    Hi,    I am trying to update custom infotypes through BDC based on status change of employee in infotype 0000 , while the BDC is executing I am getting an error message 'Person is already being processed by - ' What is this error and how to rectify i

  • Scan-to-email app with Officejet 6700 Premium printer

    how to scan and email Scan-to-email app with Officejet 6700 Premium printer - attachment does not come through

  • 4200/128 video noise

    Hi,  Wonder if anyone can help me with a problem I get with S-Video In. I get a good picture but there is a line of noise at the top of the picture that I can only describe as video noise(?) It may be data within the video stream, but it's annoying.