JSTL conditional check

前端 未结 2 1040
借酒劲吻你
借酒劲吻你 2021-02-02 14:52

On my current page I am using JSTL to check if data is available for my form. Problem I am facing is \"if there is no data I am not seeing the text fields either\". I can solve

2条回答
  •  佛祖请我去吃肉
    2021-02-02 15:27

    I try to put as little logic as possible in my web pages,

    "The interface tier is relatively free of application processing; windows or web pages forward task request to middle tier" Graig Larman, Applying UML and Patterns third Edition page 575 - Information Systems: The classic Three-tier architecture.

    Also do the control/validation at the client level before persisting the data...but I guess if it is legacy and web pages are the only things you can touch ...this makes sens

提交回复
热议问题