I want to get data in the session

I have created :
- login.jsp
- login.java {get and set on the UIcomponents} duration=session
I want to create an over java class that can access to the components in the session.
how can I do this?
Thank you for your help.

Hi,
if I understood your question right you can do something like this:
FacesContext context = FacesContext.getCurrentInstance();
context.getExternalContext().getSessionMap().get("[nameOfTheComponent]");The nameOfTheComponent for example is the name of a manged bean you gave it in the faces-config.xml.
Hope this helps you.

Similar Messages

  • EJB-Archive for getting Data from the DB

    Hello,
    I want to get data from the Database. I created a EJB-Project with an Entity Bean and a Session Bean.
    The jar-Archive that I generated is corrupt. Is that normal?
    Can you provide me with information on database acces?
    In ABAP it would be a piece of cake: Select * from table into ...;-)
    Greetings, Frank

    Hi Frank,
    I see that you are interested in getting data from R/3, please correct me if I'm wrong.
    If that's so, you cannot do it by purely using EJBs, as an entity bean maps to a Table row in the database, which is not quite straight forward in terms of R/3.
    The only way to get data from R/3 is to use
    1)Java + SAP JCO
    2)or a Netweaver technology like Webdynpro + Adaptive RFC
    3)Portal Component + SAP JCO.
    Again, assuming you're dealing with a WebAS server, coming to EJBs, its no different to any other application server. So, you need an RDBMS to use Entity Beans.
    Please let me know if you've got more doubts.
    Regards,
    Rajit

  • VZW palm centro w/ out data plan and want to get data

    hey all. i have a palm centro wich i love, but i want to know if i can connect to evdo rev a for free  at all, i know its wierd that i got it without a data plan, but i want to get data
    Post relates to: Centro (Verizon)

    craby1950 wrote:
    hey all. i have a palm centro wich i love, but i want to know if i can connect to evdo rev a for free  at all, i know its wierd that i got it without a data plan, but i want to get data
    Post relates to: Centro (Verizon)
    Unless you can figure out a way to distract Verizon's service from detecting you have not "paid to play", the answer is No.
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • How can i get data from the other system?

    hi,
    i want get some data from the other r3 system in my r3 system? now this two r3 system are installed two server.

    Hi,
    U can achieve this by RFC function module...
    create a function module and make it as REMOTE ENEBLED IN ATTRIBUTES TAB..
    for example i have to r/3 systems as A and B.
    I want to get data from B system..
    so create the FM in B system and then in A SYSTEM u have to call that one ,like this....
    DESTINATION NAME IS FOR SYSTEM B.
    CALL FUNCTION 'ZRFC' DESTINATION <DESTINATION NAME>
    EXPORTING
    IMPORTING
    TABLES..
    Regards,
    Nagaraj

  • I want to get data from only RESB table without loss of any deltas

    i have to fetch the reservation details for the production orders.
    we are using descrete manufacturing method to keep track the Work in process and cost .
    for addition of components manually in the production order we can track thru change date i.e From AUFK table with field name AEDAT. for each time when we are adding the components the system will create a new line item In tableRESB-OBJNR(field)
    i need very few fields from RESB table to be pulled into SAP BW.
    how should i proceed creating a generic exractor without any loss of deltas.
    i want to get data from only resb table into sap bw.
    how should i proceed with Generice extractor with single table RESB and what would be the delta field . could any one throw some light .
    all answers would be rewarded with points

    I have few reports for BOM data is to be pull into bw
    all the reports contain the same tables Mentione below
    MAST- material to BOM LINK
    STKO- BOM header
    STPO- BOM ITEM
    STAS- BOM ITEM SELECTION
    how should i create ageneric datsource satisfying that all the data comes from these tables without fail of deltas,
    my doubts.1. Do i have to create a separate data sources (generic) for all these individually and load into separate ODS'S AND CLUB THEM into single ODS further.?
    if i create i dont know what should be delta field that has to be picked for each datasource
    2. Do i have to create a view on all these tables and create a generic datasource.if created what would be the delta field i have to select.
    could you pls let me know how should i pull the data without loosing any deltas
    could you pls let me know the flow with delta fields mentioned
    regards,
    P

  • Need help to solve problem regarding Serial/USB want to get data on event base

    Hello This NI Forums have helped me a lot in learning the Labview, every time I am in problem people on this forums have helped me.
    Actually I need some example VI which could guide me to solve my problem.
    I want to get data on USB speed 1mega and should be event handled means when every a byte is received at com port ( which is always Hex value)  should be written in text file without the loosing the data.
    Thanks in advance 

    1. Use polling. Use the "Bytes at Serial Port" to read the data.
    2. No way to write each byte at a file at this speed . Store them in an array and every some time write the file and empty the array.
    3. If you can start with lower transfer rates and then go up to 1Mbps.

  • Is that possible to get data from the red trace in this BMP file

    I have an instrument, which only export image file. I want use labview to replot it and do some analysis. The image file is like attachment. Is that possible to get data from the red  trace in this BMP file via labview vis?
    Attachments:
    coax312.bmp ‏4741 KB

    I looks to me that 515 pixels represents 200 meters, so multiply the
    x-values by 0.3885 meters/pixel to get the true x-values.  I don't
    have enough information to scale the y-axis.
    Randall Pursley
    Attachments:
    Compute from BMP.vi ‏66 KB

  • Powerpivot Error on Refresh -- "We couldn't get data from the data model..."

    I'm using Excel 2013 and Windows 8.1.  I have a spreadsheet I've been using for over a year, and I've just started getting this error message when I try to refresh the data.
    "We couldn't get data from the Data Model.  Here's the error message we got:
    The 'attributeRelationship' with 'AttributeID' - 'PuttDistCat9' doesn't exist in the collection"
    Any idea how I can fix this problem?  I haven't changed anything related to that particular attribute.  All the data is contained in separate sheets in the workbook, so there are no external sources of data.
    Thanks.
    Jean

    Thanks for all the suggestions.
    I found a slightly older version of the spreadsheet that still refreshes properly, so I don't think I have any issues with the version of Excel or Power Query.  (I've had this same error before, and I believe I applied the hotfix at that time.)
    I think this problem started after I updated a number of the date filters in the pivot tables.  I haven't made any changes to the data model, and the only updates I've made were to add data (which I do all the time), and to change the date filters on
    the pivot tables.
    As suggested, I added a new pivot table querying one table (the table with the attribute that shows up in the error message), and it worked fine.  I can also refresh this pivot table.
    Then I tried adding a pivot table which went against several tables in the data model (including the table in question).  The pivot table seemed to return that data properly.  However, when I tried to refresh it, I got the same error message ("we
    couldn't get data from the data model..."). 
    Dany also suggested running the queries one at a time to see which one is in error.  Without checking all the pivot tables, it appears that any which use the table "HolePlayedStrokes" generate the error (this is the table with the attribute
    mentioned in the error message).  Pivot Tables without that particular table seem to refresh OK.  Unfortunately, that is the main table in my data model, so most of the pivot tables use it.
    Any other suggestions?  I'd be happy to send a copy of the spreadsheet.
    Thanks for all the help.
    Jean

  • How can I get Data from the Sound cart in Labview? Does a VI exist?

    How can I get Data from the Sound cart in Labview? Does a VI exist?

    Yes, there are VIs for acquiring data from Sound cards. And examples too. If you don't have LabVIEW yet, do a search on NI's site for example VIs.
    Khalid

  • HT4314 Hi I have clash of clans only Game Center on my iPhone and on my iPad and I want to get rid of the one on my iPad, on my iPhone it always comes up with 'would you like to use you town hall level 4' help!

    Hi I have clash of clans only Game Center on my iPhone and on my iPad and I want to get rid of the one on my iPad, on my iPhone it always comes up with 'would you like to use you town hall level 4' help!

    Please help me back my clash of clans game. I cant access my games. But im steel can visit. Please hepl me.

  • I want to transfer data through the serial port in the same coding that hyperterminal uses. How can i do it?

    The serial port seems to be working, and labview seems to be sending the data, but the problem is in which format does it send the data, because in hyperterminal i just input the string "JDX" and it sends it to my device, with labview it sends something but my device does not recognize it.

    nobuto wrote:
    > I want to transfer data through the serial port in the same coding
    > that hyperterminal uses. How can i do it?
    >
    > The serial port seems to be working, and labview seems to be sending
    > the data, but the problem is in which format does it send the data,
    > because in hyperterminal i just input the string "JDX" and it sends it
    > to my device, with labview it sends something but my device does not
    > recognize it.
    Hyperterminal adds the carriage return/line feed to the string which is
    generated by the return key to send out the current line. LabVIEW simply
    sends out what you tell it, so try to set the string to "Show \ Display"
    format and add a \r or \n or \r\n to the command you want to send out.
    Assumes of course that you set the right baudr
    ate/bits/parity etc in
    LabVIEW with the VISA property node, when opening the serial port.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • I have text appearing whenever I call up a new email format and I want to get rid of the text. Following is DOM source of selection : html id="compArea_test_i516_5171290607393724"

    I have text appearing whenever I call up a new email format. I want to get rid of the text. Following is DOM source of selection : <html id="compArea_test_i516_5171290607393724"><head> <title></title> <meta http-equiv="Content-type" content="text/html;charset=utf-8"> <style type="text/css"> body { background-color:transparent;} </style> <style type="text/css" id="styleSheet_521"> P {margin:0px;} span.mark {background:url(http://l.yimg.com/a/i/us/pim/dclient/cg504_5/img/md5/bfe4082db3a892f1c16cb9b5cf7cef98_1.png) bottom repeat-x;} span.unmark {color:"";} </style></head><body style="font-family: times new roman,new york,times,serif; font-size: 12pt; background-color: white; border: medium none; color: rgb(0, 0, 0);" vlink="#996699" alink="#0066cc" link="#0066cc"><br><div>&nbsp;</div>Name..<br>Sex...<br>Location...<div><br></div> </body></html> in English

    CSS:
    #navigation {margin-top: -3px;}
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How to get data on the next page in case of templates if data is more ?

    please tell me how to get data on the next page while i m using template in my first page , if data is more howw it can be displayed on the next page ?

    HI Asim,
    template is fixed we  it can't be expand . u can better to use table line it can automaticlly expending if data is more ... u can create one more page like page 2 and create a window for entire second page ..then assign it in first page (next page page2).
    regards
    kiran kumar.

  • Ways to get data from the internet with XCode and Objective-C

    Hey guys,
    Thanks in advance for any help. I was simple wondering what the best ways are to get data from the internet to use in an application. For example, is it best to store the data in a MySQL database with PHP and then use C code and MySQL commands to get that data from my Mac app? Is JSON better? Any help would be awesome!
    Josh

    What kind of data are you after?
    Eric

  • Dead curve 8310 just want to get data off

    both of my blackberry 8310s will not turn on at all, I really need the data off the newer one.  I took it to a place recommened by the AT&T store by my house and got no help.  Everyone I've talked to said if the phone will not turn on then nothing can be done.  I backed it up before the phone died, but somehow the back up was deleted off my computer.  Is there any way I can get the data or is it truely gone??

    Sadly, everything you have been told so far sounds correct. You might try an undelete program on your computer to see if you can recover the IPD file...if there has not been too much use AND if the drive is not that full, then it's possible that it is still recoverable. But, as for getting data from the BB, I suspect not.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for

  • PL/SQL - Masking Parameters on URL with Form Post vs Get

    I am inquiring about the PL/SQL functionality of passing focus from one procedure/function to another via HTML web pages, using FORM ACTION="post" against "get". I've successfully written a good bit of code using the "get" functionality, where the pa

  • Report S_PL0_86000030 - G/L Account Balance - Back button Issue

    Hi We are on ECC 5.0 and when we click on the BACK button, from the report display it straight way goes back to SAP standard  screen (both when we save or do not). It does not go back to the selection screen of the report. I searched OSS and could no

  • Can you watch movies you buy on the itouch?

    I bought and downloaded a movie from itunes.It shows up on my itunes and i can watch it on the computer..but i want to watch it on my itouch.Can you watch movies you buy from itunes on  the itouch..(i thought you could) but the movie wont sync to my

  • Unable to decrease partition

    In 2012 I used bootcamp to get windows 7 on my macbook pro 8.1, running Lion. I was able to resize the partition at any time, over the last year windows 7 has become less needed and frankly it's a sucky OS anyway even compared to XP so I'm happy to r

  • Any idoc for FBRA Transaction( both reset and reverse)?

    Hi all, Is there any idoc to accomplish functionality of FBRA tcode( both reset and reverse). Please advise. Subba