You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Srinivas Kusunam <SN...@kcc.usda.gov> on 2003/11/14 21:49:14 UTC

Simple Question

Hi All,

          I my team while in a Code-Review we had a discussion wether to use 

          <html:img > or normal <a href="...................">  as the later one can do the same work. One option accepted was why do we need Tag over head if <a href="    "> can handle that ??

          What do you guys suggest ????

Thanks,
Srini


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


Re: Simple Question

Posted by Max Cooper <ma...@maxcooper.com>.
And another good reason:

<img src="<%=request.getContextPath()%>/images/pic.gif">

is (more fragile | more typing | harder to read | etc.) than:

<html:img page="/images/pic.gif" />

-Max


----- Original Message ----- 
From: "David Friedman" <hu...@ix.netcom.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Friday, November 14, 2003 12:54 PM
Subject: RE: Simple Question


> For maintaining the JSESSIONID if someone has their cookies turned off -
> this ensures the id is embedded in the link when cookies aren't available.
>
> Regards,
> David
>
> -----Original Message-----
> From: Srinivas Kusunam [mailto:SNKUSUNAM@kcc.usda.gov]
> Sent: Friday, November 14, 2003 3:49 PM
> To: >
> Subject: Simple Question
>
>
>
> Hi All,
>
>           I my team while in a Code-Review we had a discussion wether to
use
>
>           <html:img > or normal <a href="...................">  as the
later
> one can do the same work. One option accepted was why do we need Tag over
> head if <a href="    "> can handle that ??
>
>           What do you guys suggest ????
>
> Thanks,
> Srini
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>



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


RE: Simple Question

Posted by David Friedman <hu...@ix.netcom.com>.
For maintaining the JSESSIONID if someone has their cookies turned off -
this ensures the id is embedded in the link when cookies aren't available.

Regards,
David

-----Original Message-----
From: Srinivas Kusunam [mailto:SNKUSUNAM@kcc.usda.gov]
Sent: Friday, November 14, 2003 3:49 PM
To: >
Subject: Simple Question



Hi All,

          I my team while in a Code-Review we had a discussion wether to use

          <html:img > or normal <a href="...................">  as the later
one can do the same work. One option accepted was why do we need Tag over
head if <a href="    "> can handle that ??

          What do you guys suggest ????

Thanks,
Srini


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


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


Re: Simple Question

Posted by khote <kh...@mminternet.com>.
If I'm remembering correctly:  
<a tile="mouse over text" ....>link</a>
and
<img src="blah.jpg" alt="mouse over text"/>

----- Original Message ----- 
From: "Malcolm Davis" <ma...@nuearth.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, November 19, 2003 9:14 PM
Subject: RE: Simple Question


> I like <a> for the mouse over affect.  <img> does not have a
> mouse over.
> 
> -----Original Message-----
> From: Srinivas Kusunam [mailto:SNKUSUNAM@kcc.usda.gov]
> Sent: Friday, November 14, 2003 2:49 PM
> To: >
> Subject: Simple Question
> 
> 
> 
> Hi All,
> 
>           I my team while in a Code-Review we had a
> discussion wether to use
> 
>           <html:img > or normal <a
> href="...................">  as the later one can do the
> same work. One option accepted was why do we need Tag over
> head if <a href="    "> can handle that ??
> 
>           What do you guys suggest ????
> 
> Thanks,
> Srini
> 
> 
> ------------------------------------------------------------
> ---------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 

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


RE: Simple Question

Posted by Malcolm Davis <ma...@nuearth.com>.
I like <a> for the mouse over affect.  <img> does not have a
mouse over.

-----Original Message-----
From: Srinivas Kusunam [mailto:SNKUSUNAM@kcc.usda.gov]
Sent: Friday, November 14, 2003 2:49 PM
To: >
Subject: Simple Question



Hi All,

          I my team while in a Code-Review we had a
discussion wether to use

          <html:img > or normal <a
href="...................">  as the later one can do the
same work. One option accepted was why do we need Tag over
head if <a href="    "> can handle that ??

          What do you guys suggest ????

Thanks,
Srini


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


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