struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ashokd" <>
Subject Problem in Population of Data with FormBean
Date Sun, 27 Jan 2002 21:33:59 GMT

In my application in One Action Class we are setting FormBean values for next screen.
In this scenario first time the values are not pre populating in next screen, If we refreshed
the page i.e: the action invoking once again then the values are prepopulating.

Can any one faced same type of problem?

Scope of the Next Screen : Session

Code in Action class:

    TestForm unitForm = (TestForm)aRequest.getSession().getAttribute("unitselForm");
    if(unitForm == null){
     unitForm = new TestForm( ); 

Thanks in Advance,
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message