struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A S" <>
Subject re:html:link
Date Wed, 31 Jul 2002 16:39:45 GMT
Hi Rene,

Instead of using <html:link> tag, 
<A> href="Get your stored link from database using bean"</A> can be
used to avoid scriplet.

For example:

If  name of the bean is 'MyBean' and property is 'url'.

Following lines in the jsp page will do the job.

<A href=<bean:write name="MyBean" property="url"/>>
<img border="0" src="help.gif">

Image can be added as well, for nice look and feel.


Sign-up for your own FREE Personalized E-mail at

Get 4 DVDs for $.49 cents! plus shipping & processing. Click to join.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message