ganeshaneesh
asked on
Spring 2.5 or above examples
Hi,
I am new to Spring, i need some working Spring(2.5 or above) sample application which uses multi action(multiple requests to one controller) and form controller(form submission) in a single application. The flow is, multiple requests with form data from one or more JSP/s to the one controller and then it has to go to the different views. It is very urgent and earliest reply is appreciated.
-Aneesh.
I am new to Spring, i need some working Spring(2.5 or above) sample application which uses multi action(multiple requests to one controller) and form controller(form submission) in a single application. The flow is, multiple requests with form data from one or more JSP/s to the one controller and then it has to go to the different views. It is very urgent and earliest reply is appreciated.
-Aneesh.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
import ur display tag lib in to ur jsp
<display:table uid="employee" name="employeeDetails" defaultsort="1"
defaultorder="ascending" pagesize="4" requestURI=" ">
<display:column property="empId" sortable="true" title="Employee ID"
maxLength="25" />
<display:column property="empName" sortable="true" title="Employee Name"
maxLength="25" />
<display:column property="empDep" sortable="true"
title="Employee Department" maxLength="25" />
<display:column property="empLoc" sortable="true" title="Employee Location"
maxLength="25" />
</display:table>
<display:table uid="employee" name="employeeDetails" defaultsort="1"
defaultorder="ascending" pagesize="4" requestURI=" ">
<display:column property="empId" sortable="true" title="Employee ID"
maxLength="25" />
<display:column property="empName" sortable="true" title="Employee Name"
maxLength="25" />
<display:column property="empDep" sortable="true"
title="Employee Department" maxLength="25" />
<display:column property="empLoc" sortable="true" title="Employee Location"
maxLength="25" />
</display:table>
in controller
List employeeDetails = employeeService.getEmploye eDetails() ;
return new ModelAndView("/viewEmploye es", "employeeDetails", employeeDetails);
List employeeDetails = employeeService.getEmploye
return new ModelAndView("/viewEmploye
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
-Aneesh.