On Wed, 18 Apr 2001, Peter Doyle wrote:

> When I do this
> 
> <html:link page="/editLoginInfo.do"
>   paramId="srcAction"   paramName="personalInfoForm"
> paramProperty="personal"
>   paramId="action"      paramName="personalInfoForm" paramProperty="action"
>   paramId="personnelID" paramName="personalInfoForm"
> paramProperty="personnelID"
>   >
>   <bean:message key="loginInfo.title"/>
> </html:link>
> 
> 
> The rendered URL is
> <a
> href="http://192.168.0.190:8082/mm06/editLoginInfo.do?personnelID=1";>Login
> Information</a>
> 
> 
> If I change the order of the paramId's the rendered query string only
> contains the last parameter specified.
> 
> I know I can use a hashtable of parameters, but I'm trying to get it to work
> this way.
> 
> 
> Cheers
> Peter
> 
> 
> 

It is never legal to use the same attribute name more than once in the
same tag - that's a standard rule of markup languages like HTML and XML
(and is inherited by the rules for JSP custom tags).

Craig McClanahan


Reply via email to