extending <c:url>

Hi.I am pretty new to JSP , I want to extend <c:url> tag is it possible to extend it ? Also if I am able to extend it, will I be able to use <c:param> in it? Please help.
[196 byte] By [newinjspa] at [2007-11-27 6:41:11]
# 1

Hi,

The following is the url tag usage

<c:url var="newurl" value="/catalog" >

<c:param name="Add" value="${bookId}" />

</c:url>

<strong><a href="${newurl}">

Consider bookId value is 20.

The above url tag creates the variable "newurl" with the following value

CurrentPageAddress/catalog?Add=20

If you want to add one more parameter you need to add one more <param> tag inside the url tag

If you have any queries please let me know or send a mail to me at doubtplz@gmail.com

Thanks & Regards

Santhosh Reddy Mandadi

santhosh-mcaa at 2007-7-12 18:10:42 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...