• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 660
  • Last Modified:

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.
0
ganeshaneesh
Asked:
ganeshaneesh
  • 3
2 Solutions
 
ganeshaneeshAuthor Commented:
Could you pls provide an working sample app for pagination with Display tag in Spring?
-Aneesh.
0
 
Sathish David Kumar NArchitectCommented:
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>
0
 
Sathish David Kumar NArchitectCommented:
in controller

List employeeDetails = employeeService.getEmployeeDetails();
return new ModelAndView("/viewEmployees", "employeeDetails", employeeDetails);
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now