struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caroline Lauferon" <>
Subject Re: ActionErrors problem...
Date Tue, 18 Nov 2003 14:34:19 GMT
I've just made a little test writing DUMMY: key:<keyname> Value:<value>
expected:<expected> in an html document...... and i got DUMMY: key: Value:
expected: ....
the problem is that < is a special html symbol.... explorer thinks its an
unknown tag and outputs nothing.
if you look in the HTML source of your document, i think you'll see what you
were expecting.
to output < , use &lt;

hope it helps


 Cap Gemini Telecom Media & Networks France
 Skill Center VASN - RENNES

02 99 27 61 92

----- Original Message -----
From: "Dominique de Waleffe" <>
To: "Struts Users Mailing List" <>
Sent: Tuesday, November 18, 2003 1:29 PM
Subject: ActionErrors problem...

I have this in my code:

I have this in
error.key.invalid-value.dummy=DUMMY: key:{0} Value:{1} expected:{2}

However,  using <html:errors/> in my page, the only thing that gets
displayed is:
DUMMY: key: Value: expected:

i.e. the replacement values I give are swallowed.

Any idea on what I am doing wrong? I tried calling new ActionError(..,a)
where a is an Object[] with the values I want. This did not work either.

I imagine I must be missing something obvious...

Thanks for any hint...

Dominique de Waleffe   Email: [No HTML please]
Mission Critical, Drève Richelle 161 Bât N, B-1410 Waterloo, Belgium
Phone: +32 2 757 10 15  Fax: +32 2 759 27 60

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

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

View raw message