C: if tag expressions are incompatible with weblogic and weblogic

Source: Internet
Author: User

C: if tag expressions are incompatible with weblogic and weblogic

<C: if test = "$ {'manager '. equals (menuType)} "> <li class =" query_zhij "> <A href =" javascript: void (0 ); "id =" create_product "> Create </A> </li> <li class =" query_zhij "style =" display: none; "> <A href =" javascript: void (0); "id =" update_product "> modify </A> </li> <li class =" query_zhij "> <A href =" javascript: void (0); "id =" inactive_product "> invalid </A> </li> </c: if> <c: if test =" $ {'ap '. equals (menuType)} "> <li class =" query_zhij "> <A href =" javascript: void (0 ); "id =" approve_product "> review </A> </li> <li class =" query_zhij "> <A href =" javascript: void (0 ); "id =" publish_product "> Publish </A> </li> </c: if>

C: The if label expression is not compatible with weblogic. The above code can be displayed normally under tomcat, but an error is returned under weblogic. On the contrary, the following code is normal in weblogic, but an error is reported in tomcat.


<C: if test = "$ {'manager' = menuType}"> <li class = "query_zhij"> <A href = "javascript: void (0 ); "id =" create_product "> Create </A> </li> <li class =" query_zhij "style =" display: none; "> <A href =" javascript: void (0); "id =" update_product "> modify </A> </li> <li class =" query_zhij "> <A href =" javascript: void (0); "id =" inactive_product "> invalid </A> </li> </c: if> <c: if test = "$ {'ap '= menuType}"> <li class = "query_zhij"> <A href = "javascript: void (0 ); "id =" approve_product "> review </A> </li> <li class =" query_zhij "> <A href =" javascript: void (0 ); "id =" publish_product "> Publish </A> </li> </c: if>




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.