Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Developed under 1.7 Maven


May 14, 2021 JFinal manual



If you use Maven to manage jar package dependencies, you only need to introduce the following dependency:

<dependency>

<groupId>com.jfinal</groupId>

<artifactId> jfinal </artifactId>

<version>2.2</version>

</dependency>


Starting JFinal under Manve is essentially the same as the non-maven approach described earlier, with the only difference being that when you create a Java Application startup item, enter the Program arguments in the Arguments tab: the src/main/webapp 80/5 parameter is used to specify the root of the web project. The following example code is how the main method starts:

public static void main(String[]args)

{ JFinal. start ("src/main/webapp",80, "/",

5);