You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Johan Compagner <jc...@j-com.nl> on 2001/02/01 14:23:18 UTC

question

Hi,

If the <bean:parameter> is used and the request parameter (the name
specified)
isn't found i don't want an exeception but i want the bean parameter to use
a
empty string ("").
So that after that all <bean:write> prints that empty string if the paramter
wasn't there.

I want this behaviour because if a specifiek paramater is specified i want
the title to include this parameter. But this is not a requiredment! If it
isn't
specified then noting must be added to the title (the jsp does after that a
<logic:present> and shows something if it is there.

Can't a simple property be added to <bean:parameter>?
like defaultvalue=""
Then i can specify that that value must be used when the parameter isn't
there.

Johan