how do I get the variable in my jstl and called the variable from a Web Service ?
Dear expert,
I have jsp page whereby it is using jstl to get the value out.
<form name="item" method="POST" action="servlet/CartController">
<tr>
<td><b><c:out value="${cartItem.partNumber}"/></b><br/>
<c:out value="${cartItem.modelDescription}"/></td>
<td><input type='hidden' name='itemIndex' value='<c:out value="${counter.count}"/>'>
<input type='text' name="quantity" value='<c:out value="${cartItem.quantity}"/>' size='2'>
<input type="submit" name="action" value="Update">
<input type="submit" name="action" value="Delete"></td>
<td>$<c:out value="${cartItem.unitCost}"/></td>
<td>$<input type="hidden" name="amount" c:out value="${cartItem.totalCost}"/></td>
Now, I created a Web Service client where by I need to get the cartItem.totalCost value.
Something like the request.getParameter("cartItem.totalCost) but I know this is not possible in WebService.
I've been trying various way to do it but have not been successful.
I hope someone can share with me how-to.
Many thanks.