Hello,

I am wondering what a nice design pattern would be for a JSP that shall
display an additional form if the action wants so (and not display it at
all if not).

I think that it is a bad solution to have a parameter "displayForm" that
is set by the action, because the action should not know anything about
the View. I also dislike having two different JSPs, one that displays
the form and one that does not, because they would be similar to great
parts.

What do you think about these points? Is there a good solution you can
recommend?

Best,
Anton

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to