Link to home
Start Free TrialLog in
Avatar of ganeshaneesh
ganeshaneeshFlag for India

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.
ASKER CERTIFIED SOLUTION
Avatar of Sathish David  Kumar N
Sathish David Kumar N
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ganeshaneesh

ASKER

Could you pls provide an working sample app for pagination with Display tag in Spring?
-Aneesh.
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>
in controller

List employeeDetails = employeeService.getEmployeeDetails();
return new ModelAndView("/viewEmployees", "employeeDetails", employeeDetails);
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial