Vita Rara: A Life Uncommon

Re: How to Send form data to DAO Layer.

You can have a separate bean for the form properties. Take a look at the ModelDriven documentation.

Another alternative is to create the bean as a property of your action in your prepare() method. Then in your form you can reference the properties of your bean in your tags with 'name="bean.propety"'.

Mark

Reply

Please solve the math problem above and type in the result. e.g. for 1+1, type 2
  • Allowed HTML tags: <a> <img> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <h1> <h2> <h3>
  • Lines and paragraphs break automatically.
More information about formatting options