When i have the misfortune of porting the mother of all abominations known as dreamweaver generated code I tend to use <c:url instead

<a href="<c:url value="/findtitle.do" />"

this will do what i think you want.

On 2 Mar 2004, at 23:19, mucus snot wrote:

Hi list,

Just wondering if anyone has any bright ideas. Things that you can do easily with an <a ...> tag, are not (easily) acheivable with a <html:link>. For instance in the following code:

<nested:iterate id="title" name="<%= Constants.TITLES_COLLECTION %>" scope="request" indexId="counter">
<html:link page="/findtitles.do" onmouseover="MM_swapImage('details<%= counter %>,...)"...
</nested:iterate>


counter will not resolve, although it will if the tag is an ordinary anchor.

Does anyone know a way around this? I have been resorting to using ordinary <a...> tags but have just realised that there is no session control if cookies are disabled. I have to use html:link...

thanks, al


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to