Velocity's macro

Source: Internet
Author: User

In the use of macro macros in velocity, velocity will load the macro into Tomcat, but if it is modified and then loaded, velocity finds that the same macro name is not loaded

So the problem with this is that the modified content is not displayed on the page.

     

If you want to encounter such a problem, such as I want to modify the macro inside the contents, then refresh the page and found that the page does not change

The above principle has been made clear, so we just need to change the name of the macro can be loaded recently!

Velocity's development team really pit, oneself also already did not have this, also does not update, does not say this kind of question, has been at least 5 years.

If you are right, Freemarker has the same problem!!!

Velocity's macro

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.