calling a jsp from IDM

Is there any means of calling a custom jsp. If so, how can we also pass parameter to that jsp?Yash
[112 byte] By [yash@IDMa] at [2007-11-27 2:31:34]
# 1
What exactly do you mean by calling a custom jsp? Every jsp is customized to place some content in it.If you submit the form all the parameters are set into the request object. You can retrieve these parameters using the request.getParameter of HTTPServletRequest object.SirG
SirGenerala at 2007-7-12 2:46:30 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Or is there any means of calling a servlet from IDM using a URL instead of the using the invoke method? How can we pass the parameters in this case?Yash
yash@IDMa at 2007-7-12 2:46:30 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
By custom JSP i mean , a jsp which i have written(not given by IDM)....i want to call this jsp from IDM ie on clicking a button or a linkYash
yash@IDMa at 2007-7-12 2:46:30 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

Yeah... you can append the parameters to the URL and send them.

For Eg:

<script type="text/javascript">

function setSelectionId(selId){

document.feeForgivenessForm.action = 'redeemFeeForgiveness.do?selectionId='+ selId;

document.feeForgivenessForm.submit();

}

</script>

...................

...................

<input type="submit" name="Redeem" value="Redeem" class="buttonStyle" onclick='javascript:setSelectionId(<nested:write property="selectionId"/>)' />

...................

...................

If you look at the javascript function 'setSelectionId', I am appending the parameter to the URL and setting the action.

BTW can you expand IDM? I didn't get what exactly does that mean?

SirG

Message was edited by:

SirGeneral

SirGenerala at 2007-7-12 2:46:30 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...