vamsi Pabbisetty

Greenhorn
+ Follow
since Feb 04, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by vamsi Pabbisetty

Hi Balagopal Kannampalli,
Sorry for mistake. I will take care this while posting next time. Thanks for inputs.
15 years ago
JSP

David Newton wrote:Please ask this on the JSP forum; this has nothing to do with Struts.



I do post in Jsp forum
15 years ago
HI,
I am facing one issue regarding following scenario.

I am getting one array list to jsp page .I am using Jstl (<c:foreach>) for looping through Arraylist. But Arraylist contains Dto which intern contains Arraylist of Vo(value objects)

Problem : I am not able to access Arraylist which is available in Dto.

Code Sample


<c:forEach var="PresentationListDTO" begin="0" items="${modifyList}" step="1" varStatus="status">


<tr>
<td class="table_field"><cut value="${PresentationListDTO.request}"/></td>
<td class="table_field"><cut value="${PresentationListDTO.name}"/></td>
<td class="table_field"><cut value="${PresentationListDTO.company_desc}"/></td>
<td class="table_field"><cut value="${PresentationListDTO.location_desc}"/></td>
<td class="table_field"><cut value="${PresentationListDTO.office_desc}"/></td>
<td class="table_field"><cut value="${PresentationListDTO.dept_desc}"/></td>
<td class="table_field"><cut value="${PresentationListDTO.category_desc}"/></td>
<td>
<c:forEach var="PresentationListVo" begin="0" items="${PresentationListDTO.voList}" step="1">
<td class="table_field"><cut value="${PresentationListVo.item}"/></td>
</c:forEach>

</td>

</
</c:forEach>

Geiing error while executing Inner <c:foreach> loop.
error - "${PresentationListDTO.voList}": Unable to find a value for "voList" in object of class 'Dto class'
using operator "." (null)
15 years ago
JSP
I have wriiten setter and getter methods.
15 years ago
Thanks for quick response

Error i am getting is

"${PresentationListDTO.voList}": Unable to find a value for "voList" in object of class 'Dto class'
using operator "." (null)

15 years ago
HI,
I am facing one issue regarding following scenario.

I am getting one array list to jsp page .I am using Jstl (<c:foreach>) for looping through Arraylist. But Arraylist contains Dto which intern contains Arraylist of Vo(value objects)

Problem : I am not able to access Arraylist which is available in Dto.

Code Sample


<c:forEach var="PresentationListDTO" begin="0" items="${modifyList}" step="1" varStatus="status">


<tr>
<td class="table_field"><c:out value="${PresentationListDTO.request}"/></td>
<td class="table_field"><c:out value="${PresentationListDTO.name}"/></td>
<td class="table_field"><c:out value="${PresentationListDTO.company_desc}"/></td>
<td class="table_field"><c:out value="${PresentationListDTO.location_desc}"/></td>
<td class="table_field"><c:out value="${PresentationListDTO.office_desc}"/></td>
<td class="table_field"><c:out value="${PresentationListDTO.dept_desc}"/></td>
<td class="table_field"><c:out value="${PresentationListDTO.category_desc}"/></td>
<td>
<c:forEach var="PresentationListVo" begin="0" items="${PresentationListDTO.voList}" step="1">
<td class="table_field"><c:out value="${PresentationListVo.item}"/></td>
</c:forEach>

</td>

</
</c:forEach>

Geiing error while executing Inner <c:foreach> loop.
error - "${PresentationListDTO.voLis}": Unable to find a value for "voLis" in object of class
15 years ago