Skip to Content
author's profile photo Former Member
Former Member

Beans loses data stored

Hello,

i'm developing a java application in EP 5.0 and i'm using Beans and jsp.

When i load the iview, there are 2 dropdown list box filled with the data stored in the beans. These beans are filled throught a BAPI.When i make a selection in the dropdown list, and i press a load button a tableview is filled with data.But Sometimes the dropdown list box loses the data stored and appears empty, without data

Somebody can tell why this dropdown appears empty??, the bean loses the data??? have caducity the beans???

In the .jsp i'm using the scope option APPLICATION.

Thanks. I wait your help!!!!

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2004 at 06:42 PM

    Hi,

    well, normally the bean should not lose its data. Please check the following:

    - Do you refill the bean on every request (i.e. re-execute the BAPI call)?

    - Do you explicitely create a new bean and store it in the user's context with the same name?

    And as usual, some code excerpts would be helpful.

    Regards,

    Dominik

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2004 at 05:19 PM

    Hi,

    i think the reason the beans lose the data could be that the server needs resources and empties the beans to catch resources.Is that possible??

    And another question, how can i manage the cache or the resources that my pages need?? an dhow can i manage the users that access to this pages??? I ' thing that the reason that the system needs resources might be that many users access to the pages at the same time...

    Can somebody help me???

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.