What should I do to add JVM parameters to the program executed in eclipse?

Right-click on the executed program to run as ----> open run dialog 

Java Application and select the Arguments tab, one of which is VM Arguments, which is set here.

 

 

 

Modify the configuration of the tapestry page in eclipse without restarting

 

Close Tapestry cache pool to improve development efficiency

Tapestry has its own caching policy for pages. Once the page is accessed for the first time, the page object is loaded into the cache. Therefore, every modification to HTML, page or java will not take effect immediately and the server must be restarted. This is quite inconvenient when we are developing programs . Therefore, we can turn off Tapestry's caching strategy and turn it on again when the project is released.

In MyTapestry.application add:

<meta key="org.apache.tapestry.disable-caching" value="true"/><meta key="org.apache.tapestry.enable-reset-service" value="true"/>

and in the JVM add:

-Dorg.apache.tapestry.disable-caching=true-Dorg.apache.tapestry.enable-reset-service=true

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326992301&siteId=291194637