struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A S" <ash_...@email.com>
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">
</A>

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

Thanks
Ash


-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Get 4 DVDs for $.49 cents! plus shipping & processing. Click to join.
http://adfarm.mediaplex.com/ad/ck/990-1736-3566-59


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message