Hello, i am a struts2 beginner.. i have code for 'searching' in that user is allowed to search data by a column name.
user enters a data in jsp and calls action and display in another jsp.
and a jsp page
i am using a separate java code for connection with database, in the same way i want to separate the a part of code containing database query. But then how to pass the parameters like tblName, searchparametername1 and searchvalue1 ???