I am using Struts 2 and Hibernate.
I know that URL params are readily available in Action class.
I also have a Model class which has getters and setters which is hooked to database table through Hibernate.
To link URL params to Model Class, I have to again use getters and setters in my Action class and create Model Object.
Is this the best way ? Basically I do not want to add getters and setters at 2 places.
Any good practice to implement this ?