Hi , i have got a question about ActionForm

For example if i have got a simple form class which is inhereted from
ActionForm, here ist he code

****************************************************

public class SimulationForm extends ValidatorForm {

    .......... // some declerations

    public String getDate() {
        return date;
    }

    public String getSimulationDate() {
        return simDate;
    }


    public Collection getScenarios() {
          // in here i have to access HttpSession object
         // this Collection data is going to fill combobox
          Collection c = (Collection) session.getAttribute("data") ;  // any
solution for here ?
    }

   ......  // some  code
}

****************************************************

As i declared above, i need to access HttpSession object in ActionForm. Any
idea ?

Regards.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to