Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

hel re: passing parameters between jsp pages via url

843838Oct 15 2006 — edited Oct 17 2006
Hello all,

I have the following parameter defined in a jsp page, jspA.
<c:set var="Count" value="${param.Count}" />

I have a button, set to launch another jsp page, jspB, with some url parameter passing as follows:
<td><input type='button' value='Modify' onclick="modifyInfo(Count)" /></td>

and the function "modifyInfo" in a "library" file as follows:
function modifyInfo(count) {
window.location.href="jspB.jsp?type=" + count;
}

unfortunately, this is not working... Can some please help me, or suggest alternative way of passing parameters via url?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 14 2006
Added on Oct 15 2006
6 comments
831 views