fmt:message is pretty much a drop in replacement for bean:message. I don't know about JSP 1.1 - I've got a *feeling* it's 1.2 only, but you'd better do some research.
You can achieve the same with the struts tags: <bean:define id="the_link"> <html:link forward="email"> <bean:message key="cancel.message.email"/> </html:link> </bean:define> <bean:message key="cancel.message" arg0="<%=the_link%>"/> But it's a bit messier. Paul -----Original Message----- From: david chan [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 16:17 To: Struts Users Mailing List Subject: RE: passing html:link tag to bean:message tag I am new to JSTL, it seems very nice, but has two questions about JSTL: Does JSTL compatiable with Struts 1.1, for example the fmt:message, will it get same local as bean:message in same context? Also does the JSTL works on Webshere 4.x ? (Servlet 2.2 and JSP 1.1 only I think). Thanks. David --- Paul McCulloch <[EMAIL PROTECTED]> wrote: > Use the jstl: > > <fmt:message key="cancel.message"> > <fmt:param> > <html:link forward="email">email us</html:link> > </fmt:param> > </fmt:message> > > You probably want the text of the link to come from > the resources as well: > > <fmt:message key="cancel.message"> > <fmt:param> > <html:link forward="email"> > <fmt:message key="cancel.message.email"> > </html:link> > </fmt:param> > </fmt:message> > > Paul > > -----Original Message----- > From: david chan [mailto:[EMAIL PROTECTED] > Sent: 14 October 2003 15:34 > To: Struts Users Mailing List > Subject: passing html:link tag to bean:message tag > > > Hi, > I am trying to do like this: > > <bean:message key="cancel.message" arg0='<html:link > forward="email">email us</html:link>' /> > > I am hoping the final cancel message will has the > "email us" link that is link to the email action. > > But of course this doesn't work because bean treat > the > arg0 as a string only. > > how can I do something like this? > > Thanks. > David > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product > search > http://shopping.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > ************************************** > Axios Email Confidentiality Footer > Privileged/Confidential Information may be contained > in this message. If you are not the addressee > indicated in this message (or responsible for > delivery of the message to such person), you may not > copy or deliver this message to anyone. In such > case, you should destroy this message, and notify us > immediately. If you or your employer does not > consent to Internet email messages of this kind, > please advise us immediately. Opinions, conclusions > and other information expressed in this message are > not given or endorsed by my Company or employer > unless otherwise indicated by an authorised > representative independent of this message. > WARNING: > While Axios Systems Ltd takes steps to prevent > computer viruses from being transmitted via > electronic mail attachments we cannot guarantee that > attachments do not contain computer virus code. You > are therefore strongly advised to undertake anti > virus checks prior to accessing the attachment to > this electronic mail. Axios Systems Ltd grants no > warranties regarding performance use or quality of > any attachment and undertakes no liability for loss > or damage howsoever caused. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]