struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: can you have <html:link> in your
Date Wed, 14 Aug 2002 17:17:58 GMT

On Wed, 14 Aug 2002, Richards, Devin N (Devin) wrote:

> Date: Wed, 14 Aug 2002 13:01:34 -0400
> From: "Richards, Devin N (Devin)" <>
> Reply-To: Struts Users Mailing List <>
> To: "Users Mailing List Struts (E-mail)" <>
> Subject: can you have <html:link> in your
> I have the following using 1.1-b2
> Ack.jsp
> <bean:message key="com.myco.myapp.sig" />
> com.myco.myapp.sig=Thank you for your inquiry. You may <html:link
> forward="question">submit</html:link> another question
> When the action displays the Tiles definition that contains Ack.jsp all of the text appears
on the page, but the <html:link> was not "processed" and thus the link is not active.
> Any ideas on how to get this to work, with out having to put the <html:link> in
the JSP?

You cannot embed general JSP stuff into a message and expect it to be
"compiled" at run time.  This is a general JSP rule, not something unique
to Struts.

One simple solution is to embed a <bean:message> call for each of the two
staic parts of the message, and leave a real <html:link> tag in your page
in between.

> -Devin


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

View raw message