I am not sure if the DTD declares that (I did not take a look at it), but basically the way to pass param on a HTML URL is the way it was generated - Every single HTTP server will not parse the parameters correctly if it is in the form that you want. If you have some special parser or that is indeed what you want, I guess you will have to pass the entire parameter as one, and not have multiple parameter arguments on the c:url.
Cheers, hf On 4/20/07, Marcello Savino <[EMAIL PROTECTED]> wrote:
In my jsp i've a code like this: <logic:iterate id="index" name="list" type="myList"> <c:url value="/myAction.do" var="url1"> <c:param name="id"><bean:write name="index" property="id" /></c:param> <c:param name="year"><bean:write name="index" property="year" /></c:param> </c:url> <logic:iterate> The code works good. But the generated url are in this form: http://localhost:8080/myApp/myAction.do?id=161298&year=2005 Instead of http://localhost:8080/myApp/myAction.do?id=161298&year=2005 As required by the DTD declared (xhtml 1.0 strict) Does anybody have some idea to get the right url parameter separator (&->&) ? Thanks in advance. Marcello --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]