Internationalization is one of the main reasons I see in using the Struts tags for non-form related tags. Our site is implemented in several languages and so all of the images and text come from ResourceBundles. Struts is automatically aware of these bundles and will display the right content for the specified locale. The <html:img> tag is a good example of this.
Outside of this the <html:link> tag will automatically handle URL rewriting of the jsessionid for users who do not support cookies. I think if you took some time and examined the inner workings of all of the html tags you would find that even though you may have no use for some of the features they implement, each of them adds something that may be of value for someone. The nice part about it is you don't have to use them if you don't want to. -Robert Scaduto -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 5:21 PM To: Struts Users Mailing List Subject: Re: HTML tags - WHY? Maybe I should rephrase the question. I understand what the tags are for when related to form items and even hyperlinks (allowing forwards), but what is the point of duplicating the others? - Cody Jim Crossley <[EMAIL PROTECTED]>@jimmy.ifleet.com on 02/07/2002 04:14:45 PM Please respond to Struts Users Mailing List <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] To: Struts Users Mailing List <[EMAIL PROTECTED]> cc: Subject: Re: HTML tags - WHY? That is certainly the biggie. Coupla others: - Transparently inserts context path prefix. - Automatically encodes html-specific characters "Krueger, Jeff" <[EMAIL PROTECTED]> writes: > One thing is it will populate the tag with the value from your formBean. > > Jeff > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 07, 2002 3:00 PM > To: Struts Users Mailing List > Subject: HTML tags - WHY? > > > > > Can someone help me understand why struts duplicates almost all standard > HTML tags. In all of these cases, struts adds something special that is not > already inherent in the tag? > > - Cody > > ---------------------------------------------------------------- > The information transmitted is intended only for the person or entity to > which it is addressed and may contain confidential and/or privileged > material. Any review, retransmission, dissemination or other use of, or > taking of any action in reliance upon, this information by persons or > entities other than the intended recipient is prohibited. If you received > this in error, please contact the sender and delete the material from any > computer. > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: < mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: < mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: < mailto:[EMAIL PROTECTED]> For additional commands, e-mail: < mailto:[EMAIL PROTECTED]> ---------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>