Bean class does not store values

hi
I have a jsp page like. i am using Struts.
<body>
<form name="form" action="bluhbluh">
<logic:present name="address">
<logic:iterate id="RequestDVO" name="address">
TABLE align='center' border='1' cellPadding='5' cellSpacing='1' width="60%" style="border-color:#006600">
<TR>
<TD class="label" colspan="1" style="color:#000000">Shipment Quantity</TD>
          <TD class="note1" colspan="1" NOWRAP="true"><bean:write name="RequestDVO" property="shipQuantity"/></TD>
          <TD class="label" colspan="1" style="color:#000000"></TD>
<TD class="label" colspan="1" style="color:#000000"></TD>
     </TR>
     <TR>
<TD class="label" colspan="1" style="color:#000000">Address1</TD>
          <TD class="note1" colspan="1" NOWRAP="true"><bean:write name="RequestDVO" property="shipCntrAddLine1"/></TD>
<TD class="label" colspan="1" style="color:#000000"> Address2</TD>
          <TD class="note1" colspan="1" NOWRAP="true"><bean:write name="RequestDVO" property="shipCntrAddLine2"/></TD>
</TR>
</logic:iterate>
</TABLE><P><P>
</logic:present>     
</form>
</BODY>
"logic" used because i am displaying value from bean class using list thats in session scope and it set the value to "address". RequestDVO is my bean class.
if i submit the form it has to store the value again in database. but while inserting it shows that all the fields are null. so please help me how to handle this.
my action class for doing this is
public class NewRequestAction extends Action
     private static Log log = LogFactory.getLog(NewRequestAction.class);
     public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
     RequestDVO requestDVO=(RequestDVO) form;
     RequestHelper requesthelper=new RequestHelper();
     requesthelper.newRequest(requestDVO);
return mapping.findForward("requestsuccess");
i have imported necessary file to handle action class
so how i can handle this

<body>
<form name="form" action="bluhbluh">
<logic:present name="address">
<logic:iterate id="RequestDVO" name="address">
TABLE align='center' border='1' cellPadding='5' cellSpacing='1' width="60%" style="border-color:#006600">
<TR>
<TD class="label" colspan="1" style="color:#000000">Shipment Quantity</TD>
<TD class="note1" colspan="1" NOWRAP="true"><bean:write name="RequestDVO" property="shipQuantity"/></TD>
<TD class="label" colspan="1" style="color:#000000"></TD>
<TD class="label" colspan="1" style="color:#000000"></TD>
</TR>
<TR>
<TD class="label" colspan="1" style="color:#000000">Address1</TD>
<TD class="note1" colspan="1" NOWRAP="true"><bean:write name="RequestDVO" property="shipCntrAddLine1"/></TD>
<TD class="label" colspan="1" style="color:#000000"> Address2</TD>
<TD class="note1" colspan="1" NOWRAP="true"><bean:write name="RequestDVO" property="shipCntrAddLine2"/></TD>
<TD ><INPUT TYPE ="text" name="reason"></TD>
</TR>
</logic:iterate>
</TABLE><P><P>
</logic:present>
</form>
</BODY>
i have an text field at last where user can type then once he clicked ok it has to store the values in database but i dont know why its not doing so

Similar Messages

  • TreeControl does not store values on close

    Hi all,
    If I remember correctly, prior to 8.5.1 (which I'm using now), the Labview treecontrol value persists through even a pc restart.   When the vi is reopened the treecontrol value was there, right where I left it.  Now it seems to revert back to a default value, not its last value.  Is there a setting buried somewhere that controls this behavior?  Or will I have to use vi server to set the default value with a separate vi?  Any tips would be much appreciated.
    thanks,
    George
    p.s. I'm running XP pro, labview  8.5.1 pds

    "gharris" <[email protected]> wrote in message
    news:[email protected]..
    > Hi all,&nbsp;If I remember correctly, prior to 8.5.1 (which I'm using
    now), the Labview treecontrol value persists through even a pc restart.
    &nbsp; When the vi is reopened the treecontrol value was there, right where
    I left it.&nbsp; Now it seems to revert back to a default value, not its
    last value.&nbsp; Is there a setting buried somewhere that controls this
    behavior?&nbsp; Or will I have to use vi server to set the default value
    with a separate vi?&nbsp; Any tips would be much
    appreciated.&nbsp;thanks,George&nbsp;p.s. I'm running XP pro, labview&nbsp;
    8.5.1 pds
    I think your memory is wrong. The tree control is always empty, even if you
    remove the VI from memory, and reload it again.
    Instead of using VI server to set the value to default (which won't work in
    executables), it's much better to store the data you use to fill the tree
    with, and store that data in a reloadable format...
    Regards,
    Wiebe.

  • Hi, I have quick question about use of USEBEAN tag in SP2. When I specify a scope of SESSION for the java bean, it does not keep the values that I set for variable in the bean persistent.Thanks,Sonny

     

    Make sure that your bean is implementing the serializable interface and that
    you are accessing the bean from the session with the same name.
    Bryan
    "Sandeep Suri" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I have quick question about use of USEBEAN tag in SP2. When I
    specify a scope of SESSION for the java bean, it does not keep the
    values that I set for variable in the bean persistent.Thanks,Sonny
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Safari does not store history or sync my iCloud bookmarks

    Hi,
    I am using MacBook Pro with OSX Mavericks. My safari does not store any of the history or does not sync the bookmarks of icloud. However, when I logged in from a guest user, the history was stored.
    I tried some of the troubleshooting methods mentioned in other similar posts. But i could not find history.plist. My Library/safari folder contained only extension folder. The icloud keychain and icloud tab features work like a charm.
    Can anybody help me resolve this issue.
    Thanks in advance.

    Back up all data.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    I've tested these instructions only with the Safari web browser. If you use another browser, they may not work as described.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked
    Allow user to administer this computer
    Then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click anywhere in the following line on this page to select it:
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR..; sudo chown -R $UID:staff ~ $_; sudo chmod -R u+rwX ~ $_; chmod -R -N ~ $_; } 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take a few minutes to run, or perhaps longer if you have literally millions of files in your home folder. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password dialog will open. You’re not going to reset a password.
    In the dialog, select the startup volume ("Macintosh HD," unless you gave it a different name) if it's not already selected.
    Select your username from the menu labeled Select the user account if it's not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Error msg, "Maximum selection does not contain value 9999999999.

    Hi, I am getting this error wile doing Reclassification of HFM Movement.
    Error msg, "Maximum selection does not contain value 9999999999 of subassignment HFM CD2 & Asset Type "                                         
    in the Data Monitor, ( in Reclass Net Reserve). While running BCF task for a company for period 16/2009     
    Actually, We have converted the consolidation area from XX(2009) to YY(2010).
    Before this task, user has performed the balance carry forward.
    My Analysis is as follows:-
    Method Used in this Reclassification                                         
    RECYX (Reclassify HFM Movement at YE lvl 10)                                        
         TRIGGER                                   
         Items : 100-299, 9900-9999                                   
         HFM Movement Type : O200 to O300                                   
         Posting Level : 10                                   
         TARGET                                   
         Items : 100-299, 9900-9999                                   
         Move : O100C                                   
         Posting Level : 10                                   
         HFM CD2 and Asset type : Ticked                                    
    After TEST run in UCMON, the error message comes :-                                        
    The "HFM CD2 & Asset Type value 9999999999" is not maintained in Breakdown Categories Y500, Y700  etc.                                        
    Breakdown categories in Workbench                                        
    Maintained as "OPTIONAL, Initialized value allowed".                                        
    Single Selection                                         
    1A                                        
    1B                                        
    AR                                        
    GA                                        
    Default Selection                                        
    99999999999                                        
    BCS CUBE                                         
    HFM CD2 & Asset Type - coming blank               
    LOTR                                        
    HFM CD2 & Asset Type - Coming blank     
    Please help to go forward.
    In Anticipation,
    Deepankar Jain

    Thanks a lot Dan for the reply.
    Yes, the single selection is 1A, 1B etc, I agree that including this default value 9999999999 in single selection will resolve this issue, but the BREAK DOWN TYPE is OPTIONAL, that means It will also consider a blank value, right?
    Also, In the method defined for RECLASSIFICATION in workbench, in the TARGET parameters, the" HFM CD2 and Asset Type"  is blank but the "DEFAULT is TICKED" which makes it a mandatory derivation rule.
    Please correct me if I am wrong.
    Your replies on it are highly appreciated.
    Thanks and Regards,
    Deepankar

  • Maximum selection does not contain value 600 of subassignment Subitem-error

    Hi All,
    I'm getting the following error when i tried to load the file through data stream.
    Maximum selection does not contain value 600 of subassignment Subitem
    Message no. UCD1038
    Diagnosis
    The posting item 11100100 has breakdown category BR01 for which a maximum selection was maintained for subassignment Subitem. The current posting value, however, is not in this maximum selection.
    System Response
    The posting is not possible.
    Procedure
    Check the maximum selection and the posting.
    I have already refered the earlier threads but its of no use for me. I have checked my setting w.r.t to FS item breakdown category, Max selection in breakdown category and  sub items all the setting are fine, even i applied the OSS notes no-1074599 still i'm facing the same issue.
    Can any one help me with this regards, thanks in advance.
    Regards,
    Magesh

    Hi Dan,
    Yes, breakdown category has been assigned with a sub item category which in turn assigned to subitems and this sub item is a part of the sub item category which is assigned in max. selection.
    Let me know if you want any more information on the same.
    Regards,
    Magesh

  • Illustrator CS6 does not store the last opened files

    I need Help,
    Illustrator CS6 does not store the last opened files.

    THat indicates a permissions issue on your preferences file and/ or your files are stored on some external or network device that doesn't use persistent file paths. Look into that.
    Mylenium

  • Object Category CL_ABAP Class does not exist

    Hi Experts,
      When Iam creating a workflow tasks or template the object category CL_ABAP Class does not exist in drop down box. Only BOR Business object is appearing. Could anyone help me the problem and how to resolve it.

    Jose,
    Note: If you are in a 6.20 system and can't see the Object Category choice "ABAP Class", then you first need to execute report SWF_CATID to enable "ABAP Classes" as an available object category. It's already done for you in releases 6.40 and higher.
    I am guessing you are in SAP_BASIS 620 version.
    Courtesy:
    This is from blog written by jocelyn dart of ABAP OO Workflow.
    For more details pls check this:
    /people/jocelyn.dart/blog/2006/12/19/using-functional-methods-in-workflows-and-tasks
    Hope this will help.
    Cheers
    Jai
    PS: Small correction report name is RSWF_CATID not SWF_CATID

  • Warning: language 'class' does not have locator

    Hi,
    While deploying an application on WLS8.1 SP2 we get the following error/warning -
    Warning: language 'class' does not have locator
    <Jan 20, 2004 12:52:00 PM GMT+05:30> <Warning> <WLW> <000000> <Warning: language 'class' does not have locator>
    Can somebody please tell me why is this and how to get rid of it.
    Thanks,
    Maheep S. Bhalla
    [att1.html]

    Hello,
    This could be a bug, I would recommend contacting our marvelous support
    team [1] and reference CR117072. They will be able to sort out this
    issue.
    Regards,
    Bruce
    [1]
    http://support.bea.com
    [email protected]
    "Maheep S. Bhalla" wrote:
    Hi,
    While deploying an application on WLS8.1 SP2 we get the following
    error/warning -
    Warning: language 'class' does not have locator
    <Jan 20, 2004 12:52:00 PM GMT+05:30> <Warning> <WLW> <000000>
    <Warning: language 'class' does not have locator>
    Can somebody please tell me why is this and how to get rid of it.
    Thanks,
    Maheep S. Bhalla

  • Function Module does not fetch value

    Hi All,
    I am using the fm RV_PRICE_PRINT_HEAD to fetch condition records. When I run this fm in SE37 for a particular document(vbeln) number, the values are fetched correctly into the internal tables TKOMV and TKOMVD.
    The same fm does not fetch values when I run for second time for the same document(vbeln). This means :
    1) I will go to SE37, type RV_PRICE_PRINT_HEAD, supply the export parameters in COMM_HEAD_I, execute it and obtain the condition records (Till this time absolutely fine)
    2) Now, press Back (F3), Let the export parameters in "COMM_HEAD_I" will remain same. Just press Execute (F8). Then condition values are not fetched.
    Could any body help in this regard...
    Thanks
    Thimmappa Hegde

    Hi
       I have given you the other alternative bcoz there is a limitation while calling this FM: RV_PRICE_PRINT_HEAD.
    If you see the comments and code of Include: LV61AA11, you can understand the problem.
    <b>* mechanism to controll which conditions are already part of table TKOMV
    Every time a pricing result is read from database the key is put into
    TABGL. Also TABGL is updated if we've lines in TKOMV assigned to a
    special key but entry in TABGL (case 2).
    Originally TABGL was established to handle following pathological
    case: condition successfully read from DB -> entry in TABGL. Then all
    read conditions where deleted during processing (e.g. manually
    deletion etc.). If we run into this routine again no records should
    be redetermined from DB...</b>
      read table tabgl with table key knumv = komk-knumv
           transporting no fields.
    Case 1:
    conditions have been already read because there is a fitting entry in
    TABGL. Exit immediately if caller doesn't want to force DB access.
      if sy-subrc eq 0. ---><b> First time SY-SUBRC NE 0 so no problem</b>   
         if generell_lesen ne 'X'. <b>--> Later runs SY-SUBRC  eq 0 and generell_lesen value is SPACE</b>.
            exit.
        endif.
      else.
      Hope this clarifies your doubt now.
    Kind Regards
    Eswar

  • ICal does NOT store my selected Calendars.

    iCal does NOT store my selected Calendars.  I must re-check them after launching iCal or Calendar is blank. How do I fix this?

    Which calendars is it not storing ? Are they local or iCloud ? From calendar preferences have you got at least a default calendar selected ?
    If it is not updating your iCloud calendars it is probably because they are still at the default Push setting.
    From the menu bar select iCal > Preferences and then select Accounts. Make sure they are being refreshed at an interval that suits you.

  • Why Math class does not have any constructor.

    Math class does not have any constructor.
    But all the classes have a default constructor. Then why the math class is not having any constructor. Is math class having some other constructor or is the default constructor concept applicable only for user defined classes.

    Math class does not have any constructor.
    But all the classes have a default constructor. Then
    why the math class is not having any constructor. Is
    math class having some other constructor or is the
    default constructor concept applicable only for user
    defined classes.You cannot instantiate a new Math object, nor can you extend the Math class. All you can do is use Math's static methods and variables. Its a utility class, thats what its susposed to do.
    JJ

  • Country IN does not store a hard currency while editing company code data

    hi, i am new to sap. i defined company n company code (copying from std) and edited company code data, while trying to save that getting error "Country IN does not store a hard currency". please guide me what have to do to over come this. thanks

    GOTO   OY01
    select your country code ( here IN )
    select IN, GOTO details (ctrl shiftf2)
    change language to EN & hard currency to INR, save it
    Regards
    sidhartha

  • Preferred Vendor serch help does not retrieve values

    Hi,
    SRM 5.0, Classic scenario
    I have successfully replicated the Vendors. But I don't see the vendors in the "search help" when I create a SC.
    It seems to me that I have implement the OSS note 845883. Can someone please confirm it.
    With regards,
    Pranav

    Hi,
    Apply this note and it should fix your problem:
    Note 845883 - Preferred vendor search help does not retrieve values
    Some other useful OSS notes ->
    968251 BBPSC02:In source of supply preferred vendor not validated
    1017288 SRM@ERP : no vendor replication into follow-on documents
    831833 Search help for preferred vendor does not update data
    980450 Shopping cart: search help for preferred vendor
    860886 Incorrect search results for deleted 'Preferred Vendor'
    711197 Preferred vendor not copied from template
    739531 Preferred vendor/service agent must not be changeable
    733899 Complete shopping cart: Preferred vendor disappears
    634794 Preferred vendor: partner not found
    726102 Performance in vendor search help
    647760 Shopping cart: Preferred vendor / partner not
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • Error: country se does not store a hard currency

    Reg: country SE does not store a hard currency
    Hi
         The Above error messages is displayed when i am trying to do foreign currency revaluation setting under TCODE -  FAGL_FC_VAL And my co code country is IN but the error message shows for country SE, can any one please give me a solution for the above
    Thank you
    Charan

    Check the following notes:-
    Note 81319 - SAPFGVTR: GI806 error in currency translation
    Note 135956 - FI-SL: Error GI806 or GI807
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Webutil Invoke_String problem

    I've the following c function: extern "C" __declspec( dllexport ) char cGreeting(char* value1, char* value2); And follow PL/SQL code: PACKAGE BODY SAMPLE IS      FUNCTION greeting(value1 IN OUT VARCHAR2, value2 IN OUT VARCHAR2) RETURN VARCHAR2 IS    

  • ColdFusion-friendly CMS

    Hi~ I am looking to find a CF-friendly CMS for a large-scale educational site. We have looked at FarCry, but it seems overly complicated to integrate already-built CF apps. Has anyone else found this to be the case, or have any other recommendations?

  • Issue on Network assignment

    Dear experts, My requirement is to create few network heads under projects definition,. Networks having activities which assigned to 2nd level wbs elements of the same project. Im using activity assigned networks. Configured project profile u2013 plg

  • How to retain the picture drawn by my mouse?

    i have a label which i would use my mouse to draw on it.. however the screen would refresh after 1 minute or when i move the window, the image that i have drawn would also disappear. how can i retain my picture so that it would always stays there? ar

  • Elements 12 no longer working

    Ive been using this program for about a month and now on start up it comes up with not working error. I have uninstalled and re installed several times, as well as down loading all windows and driver updates. my system is: intel core i7 windows 7 64