On Wednesday, November 19, 2003, at 04:34 PM, Navaketan Mohanty wrote:
Hi all,

We are using Struts for our Web Application. We have
to do Hide and Show of fields on a JSP pages depending
on certain conditions and business requirements. We do
not want to put the logic of managing the hide and
show in the JSP. We are thinking about doing it in the
Action class. Action class will do a validation and
will send to the JSP, through the Http Session, the
information of Hide and Show. The JSP will use this
info to render itself. Also we want this to be
configuration driven, if possible. Many of you must
have this kind of work before. Can you please share
your experience? Can Objective HTML and Struts be used
together for this?

If you must use Struts (*cough* Tapestry *cough*), then consider using custom JSP taglibs to hide business logic - it would be much cleaner than having every Action coded to do something special and the ugly <logic:equals> stuff you'd have to do to use the built-in Struts tags.


Erik


_______________________________________________ Juglist mailing list [EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to