This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes unable to fetch values in jsp using stripes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "unable to fetch values in jsp using stripes" Watch "unable to fetch values in jsp using stripes" New topic

unable to fetch values in jsp using stripes

xyz abcdef

Joined: Apr 17, 2013
Posts: 1
My action bean is

public Resolution getExcessesWidget(){
primaryCO ="situser5";
excessList = excessManagementUiService.**getExcessesWidget**(primaryCO);
return new ForwardResolution("/WEB-INF/jsp/excessManagement/inbox.jsp");
GetExcessesWidget method --

public FilteredUIExcessList getExcessesWidget(String primaryCO){
if(primaryCO != null && !primaryCO.trim().equals("")){
List<CrExcessMaster> crExcessMasterList = getExcessDbService().getExcessesWidget(primaryCO);
return UIBeanFormatter.formatWidgetBean(crExcessMasterList);
return null;
My UIBeanFormatter.formatWidgetBean method is

public static FilteredUIExcessList formatWidgetBean(List<CrExcessMaster> crExcessMasterList){
if(crExcessMasterList != null){

FilteredUIExcessList filteredUIExcessList = new FilteredUIExcessList();

List<CustomerExcessUIBean> widgetList = new ArrayList<CustomerExcessUIBean>();

for(CrExcessMaster crExcessMaster : crExcessMasterList){

ExcessUIBean excessUIBean = new ExcessUIBean();

CustomerExcessUIBean customerExcessUIBean = new CustomerExcessUIBean();

if (widgetList.contains(customerExcessUIBean)){
return filteredUIExcessList;
return null;
My values display correctly in action bean class but i am unable to fetch it in jsp file My jsp is

<s:form method="POST" action="/excessList.htm?getExcessesWidget=true"
<table border="2px" bordercolor="black" width="100%" height="100%">
<tr>Excesses to be actioned
<th>Excess ID</th>
<c:forEach items="${actionBean.excessList}" var="excess">
<c:forEach items="${excess.widgetList}" var="customerExcess">
<td><cut value="${customerExcess.excessId }"></cut></td>
<td><cut value="${customerExcess.openDate }"></cut></td>
<td><cut value="${customerExcess.excessAmount }"></cut></td>
<td><cut value="${customerExcess.daValueForUser }"></cut></td>
Unable to find my mistake....any help is most appreciated. Thanks in advance..
subject: unable to fetch values in jsp using stripes
Similar Threads
Form for fetching data from database and displaying results on same page
How to get and use the parameter from URL?
[solved] passing 3 times by default through action using struts 2
Copy and past link problem
Coloring Table Rows Based on Array Value