| Author |
jsp:param - value attribute
|
Venkat Babu
Ranch Hand
Joined: Jan 12, 2007
Posts: 47
|
|
In my jsp, I am assigning a variable <c:set var="currentPage" value="1" scope="request" /> then in the jsp:include tag, I am doing this: <jsp:include page="/jsp/steps_tab.jsp" flush="true"> <jsp aram name="currentpage" value="<%= currentPage %>"/> </jsp:include> it didn't work. And I tried this too: <jsp:include page="/jsp/steps_tab.jsp" flush="true"> <jsp aram name="currentpage" value="<c ut value="${currentPage}"/>"/> </jsp:include> also didn't work. I am doing something wrong. Any ideas? Thanks.
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
Try it this way: [ December 11, 2007: Message edited by: Merrill Higginson ]
|
Merrill
Consultant, Sima Solutions
|
 |
Venkat Babu
Ranch Hand
Joined: Jan 12, 2007
Posts: 47
|
|
I tried, i am getting this error in the log file: The <jsp aram tag can only have jsp:attribute in its body.
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
Ok, then try it this way: [ December 11, 2007: Message edited by: Merrill Higginson ]
|
 |
 |
|
|
subject: jsp:param - value attribute
|
|
|