How to get UserId by WD from different EP server

Hey guys:
               I deploy my WD application to EP1, and I need to use WD iview to show the same application on the other server, EP2.
Everything goes fine on EP1, but the web dynpro iview on EP2 cannot get UserID. Is there any solution to get userid when the application and iview are not on the same EP server?
Any suggestion, please.
ps. I cannot just deploy the application on both EP to solve this problem. Don't ask me why, that's the command from my boss.

The problem is that when a text file is sent to a browser, it will generally display the text file in the browser, depending on the type of browser of course.
You need to set the Content-disposition header that tells the browser to dowload the file, this will open the typical "File Save As" dialogue in the browser. See the following link for more detailed information, or search the JDCs for "Content-disposition".
http://www.javaworld.com/javaworld/javatips/jw-javatip94.html
-Derek

Similar Messages

  • How to get only column names from different tables as single table columns

    Hi All,
       I have one requirement in which we want only column names from different tables.
    for example :
     I have three tables T1 ,T2, T3 having
      col1 clo2 clo3 -->  T1 , 
      col3 col5 ,clo6 --> T2 ,
      Clo6 col8 col9 --> T3
    columns i want to get only all  Column names from all table as single Resultset not any data from that how can i get that empty resultset 
    because this empty result i want to bind in datagridview(front end) as Empty resultset 
    Please tell me anyways to do this
    Niraj Sevalkar

    If I understand you want an empty result set, just with metadata. SET FMTONLY do the trick:
    SET FMTONLY ON
    SELECT Col1, Col2, Col3, ....., Coln
    FROM
    T1 CROSS JOIN T2 CROSS JOIN T3
    SET FMTONLY OFF
    Another alternative is to include an imposible contition
    SELECT Col1, Col2, Col3, ....., Coln
    FROM
    T1 CROSS JOIN T2 CROSS JOIN T3
    WHERE 1 = 0
    If you are using a SqlDataAdapter in your client application. You can use the FillSchema method. the select command may be any select statement that returns the columns you want. Under the covers FillSchema will call SET FMTONLY ON.
    If you are using SqlCommand.ExecuteReader you can pass SchemaOnly to CommandBehavior argument. SET FMTONLY ON is called under the covers. Again the select command may be any select statement that returns the columns you want.
    "No darás tropezón ni desatino que no te haga adelantar camino" Bernardo Balbuena

  • How to get userID or name from SSO, SSO Token

    How can I get the userID or name from the SSO token passed through a weblink/webtab to an external application?

    That's Simple...
    When you configure weblink or webtab you specify the custom application url along with SSO Token %%%SSO Token%%% similarly you can get User First Name, User Last Name, User Full Name and UserId from the same fashion..
    Hope this helps...
    Regards,
    Deepak H Andeli

  • How to get consistent colour prints from different Macs?

    Hello Forum,
    we are unable to get consistent colour prints from the various Macs in our office. There is only one printer, and for the sake of this discussion only one PDF file to be printed. The Macs have various OSes, from 10.4.11 up to 10.9.5; most are Minis of one vintage or another.
    The printed results *should* IMHO be identical no matter which computer issues the "print" command, but they are far from that. Some computers print with a reddish tint, others with too little saturation or too much brightness (to put it in Photoshop terms).
    What exactly must we do to get identical results no matter which computer does the printing?
    Thanks in advance
    John
    p.s. May I just say what a ridiculous pain in the neck it is to have to choose from that list of purchasable Apple products aka communities? Some questions, like this one, do not belong in a single community or at least there is no community whose title describes our problem. I am uneasy filing it under "Mac Mini" because there is absolutely no reason to believe that the problem is a misbehaviour of *one* of our Minis. In the old days, when help was geared to users rather than to pushing the sale of further Apple products, there used to be forums with titles like "Printing problems".

    Thanks for the suggest, which didn't solve the problem — because it wasn't a Mac problem at all. Acrobat Reader was getting the colours wrong! Setting "Print as image" in the Print dialog extensions solved it.
    Resolved, case closed.

  • How to get CAL license type from installed window server 2008 r2

    Hi,
    we have domain controllers which is installed with windows server 2008 r2 datacenter. now we need get the cal information of that servers like whether its per device or per user. can I get the information from an installed server. any scripts?
    Thanks, Venkatesh. "Hardwork Never Fails"

    Hi Venkatesh,
    As Diramoh suggested, we do not need to install CAL in Windows Servers unless it is RDS CALs. You can put the document into your administration papers.
    However, if you need further assistance about license, it is recommended to visit the Volume Licensing Microsoft Licensing Center.
    http://www.microsoft.com/licensing/about-licensing/client-access-license.aspx#tab=2
    Best Regards.
    Jeremy Wu
    TechNet Community Support

  • WLST: How to get "Activation Time" data from a managed server ?

    Hello,
    does someone knows how to get the "Activation Time" (Time when the managed server was started) of a managed server via WLST under WLS 8.1 & 9.2 ?
    Thx a million.

    Under 9.2
    connect()
    serverRuntime()
    print cmo.getActivationTime()
    print java.util.Date(cmo.getActivationTime())
    <Markus Jessl> wrote in message news:[email protected]..
    Hello,
    does someone knows how to get the "Activation Time" (Time when the managed
    server was started) of a managed server via WLST under WLS 8.1 & 9.2 ?
    Thx a million.

  • How to get mobile model name for different types mobile devices

    Hi,
    I have checked few thread in this forum about getting mobile model name at server. So far, i noticed the mobile name is set manually in the midlet as user-agent .
    HttpConnection connection = null;           connection = (HttpConnection)Connector.open(url);          connection.setRequestMethod(HttpConnection.POST);          connection.setRequestProperty("User-Agent","Nokia7110 Profile/MIDP-1.0 Configuration/CLDC-1.0");
    i retrieve the header information from servlet like below :-
    String userAgent = request.getHeader("User-Agent");
    How to get mobile model name for different model devices , not by manually adding the model name in midlet?
    Thanks in advance :-)

    Hi,
    In J2ME there is no method to get the model number from the device. how ever you can use the APIs provided by the device manufacturer if available. But still the APIs will not work with devices from other manufacturer or sometimes it will not work with the devices of the same manufacturer if the API is not supported. so it is better to send the device model name through the header.

  • How to get the Database type from weblogic Db connection

    I want to use database version control in my application . that means different database type use different Sql Statement. Such as in weblogic7.0 if I create SqlServer JDBC pool then I will use some special Sqlserver sql Statement . such as some join statement. If I create Oralce JDBC pool then I have to use different Sql statement . because these two database support different Sql statement.
    What my question is how to get the database type from the connection.

    For a normal jdbc driver you can use
    Connection.getMetaData()
    To get the meta data, in particular the getDatabase...() methods.
    That might or might not work.
    However, at the very least in the server you have access to the weblogic properties so you can parse the pool property to figure it out.

  • How to get userId and ResponsibilityId of EBS Application

    Hi all,
    We are using oracle.apps.fnd package to get the userId and ResponsibilityId of EBS Application. By using this api we are getting -1 for both userId and resposibilityId, but want the corrrect values for these two Ids.
    Can anyone please tell us how to get userId and ResponsibilityId of EBS Application using oracle.apps.fnd package?
    Thanks,
    Eswari

    Hi Kumar,
    Thanks for your answer. I tried using pageContext, but it didn't work.
    I forgot to mention the version of EBS Application. We are using 12i.
    To use FND_GLOBAL package first we should initialise by passing userId and respId which we want. Can we get these details from this api oracle.apps.fnd of 12i Instance.
    Thanks,
    Eswari
    Edited by: user593578 on Jul 31, 2009 4:35 PM
    Edited by: user593578 on Jul 31, 2009 5:18 PM

  • Get the Cookie Value from Different Application Servers

    Hi All,
    I am using the two applications with different application servers. How to get the cookie values from one to another application. Shall i know any sample codes?
    Thanks
    Maalan

    A cookie carries a domain name. The browser will only return cookies whose domain matches to domain to which the request is made, however although you can use a partial domain name providing it's not too generic. So, when you add a cookie you need to explicitly set the domain name on the cookie to, for example, your company suffix like ".acme.com", then the cookie should be returned to all the servers under that domain e.g. server1.acme.com and server2.acme.com.

  • How to get all the values from the dropdown menu

    How to get all the values from the dropdown menu
    I need to be able to extract all values from the dropdown menu; I know how to get all those values as a string, but I need to be able to access each item; (the value in a dropdown menu will change dynamically)
    How do I get number of item is selection dropdown?
    How do I extract a ?name? for each value, one by one?
    How do I change a selection by referring to particular index of the item in a dropdown menu?
    Here is the Path to dropdown menu that I'm trying to access (form contains number of similar dropdowns)
    RSWApp.om.GetElementByPath "window(index=0).form(id=""aspnetForm"" | action=""advancedsearch.aspx"" | index=0).formelement[SELECT](name=""ctl00$MainContent$hardwareBrand"" | id=""ctl00_MainContent_hardwareBrand"" | index=16)", element
    Message was edited by: testtest

    The findElement method allows various attributes to be used to search. Take the following two examples for the element below:
    <Select Name=ProdType ID=testProd>
    </Select>
    I can find the element based on its name or any other attribute, I just need to specify what I am looking for. To find it by name I would do the following:
    Set x = RSWApp.om.FindElement("ProdType","SELECT","Name")
    If I want to search by id I could do the following:
    Set x = RSWApp.om.FindElement("testProd","SELECT","ID")
    Usually you will use whatever is available. Since the select element has no name or ID on the Empirix home page, I used the onChange attribute. You can use any attribute as long as you specify which one you are using (last argument in these examples)
    You can use the FindElement to grab links, text boxes, etc.
    The next example grabs from a link on a page
    Home
    Set x = RSWApp.om.FindElement("Home","A","innerText")
    I hope this helps clear it up.

  • How to get the return values from a web page

    Hi all :
       how to get the return values from a web page ?  I mean how pass values betwen webflow and web page ?
    thank you very much
    Edited by: jingying Sony on Apr 15, 2010 6:15 AM
    Edited by: jingying Sony on Apr 15, 2010 6:18 AM

    Hi,
    What kind of web page do you have? Do you have possibility to for example make RFCs? Then you could trigger events (with parameters that could "return" the values) and the workflow could react to those events. For example your task can have terminating events.
    Regards,
    Karri

  • How to get warranty service claim from nokia c5-03...

    how to get warranty service claim from nokia c5-03 in india because i have problem with nokia c5-03 I Purchase 2 week ago a new nokia c5-03 but from day 1 i facing same problem like 1) app close itself 2) internet browse close if any thing is downloading or downloading over 3) memory full always then i should reboot the phone then it work. 4) ovi map is open it shows memory full close the app So kindly help me how to get warranty service claim from nokia c5-03 in india i am unhappy with nokia c5-03
    Solved!
    Go to Solution.

    i updated software also but the same problem cont... I want to know that nokia will give back money or exchange for other new mobile

  • For some reason the system is telling me my birth date is wrong when it's not and it won't let me proceed to reset my password. Can someone tell me how to get a "real" person from tech on line?

    For some reason the system is telling me my birth date is wrong when it's not and it won't let me proceed to reset my password. Can someone tell me how to get a "real" person from tech on line?

    contact itunes support

  • How to get the current week from sysdate?

    Hi sir,
    i want to know how to get the current week from sysdate?
    thanks

    Hi Nicolas
    It seems you like to check my post and also make commend ;) thanks for your attention
    Have you ever read the posts above and given solutions ?Yes, I did
    Have you read the docs ? Yes, I checked
    What's the added value here ?Did youYou shared doc with solution(long one), I shared short one which point same solution(Check what Joel posted)..So what is benefit, As you can guess oracle docs are sometimes become so complicated as specialy for beginner...(At least it was like that for me and Belive me somedocs are still sooo complicated even for oracle coworkers ) But for you I dont know ;)
    => Why writting the PS in bold ?Why.. Let me think... Ohh Maybe I am looking some questions(many) and even user get answer they should not changed status so I am reading some posts and try to get problem and loosing time..
    So I am putting that PS wiht BOLD because I dont wanna lose time my friend ;) Because While I am trying to help ppl here In same time I am trying to giving support to my customer prod systems. Which mean time is very important for me...
    Hope my answer could satisfy you..
    One important PS for you.. You may not like my posts (or someone) but my friend I become tired to read&answer and make commend to on your comment which is about my posts.
    I am not newbie in forum(At least I fell like that) and I belive I know how I should make post..
    Thank you
    Regards
    Helios

Maybe you are looking for