velocity 是 Apache 模板项目,虽然我们现在还在用,但是用的频率已经不高了

This commit is contained in:
YuCheng Hu 2024-05-02 12:26:53 -04:00
parent b68f72562c
commit d798a38eed
Signed by: honeymoose
GPG Key ID: D74AE0B33A8002EC
7 changed files with 13 additions and 13 deletions

View File

@ -1,4 +1,4 @@
package com.baeldung.apache.velocity.model;
package com.ossez.apache.velocity.model;
public class Product {

View File

@ -1,6 +1,6 @@
package com.baeldung.apache.velocity.service;
package com.ossez.apache.velocity.service;
import com.baeldung.apache.velocity.model.Product;
import com.ossez.apache.velocity.model.Product;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@ -1,7 +1,7 @@
package com.baeldung.apache.velocity.servlet;
package com.ossez.apache.velocity.servlet;
import com.baeldung.apache.velocity.model.Product;
import com.baeldung.apache.velocity.service.ProductService;
import com.ossez.apache.velocity.model.Product;
import com.ossez.apache.velocity.service.ProductService;
import org.apache.velocity.Template;
import org.apache.velocity.context.Context;
import org.apache.velocity.tools.view.VelocityLayoutServlet;

View File

@ -1,7 +1,7 @@
package com.baeldung.apache.velocity.servlet;
package com.ossez.apache.velocity.servlet;
import com.baeldung.apache.velocity.model.Product;
import com.baeldung.apache.velocity.service.ProductService;
import com.ossez.apache.velocity.model.Product;
import com.ossez.apache.velocity.service.ProductService;
import org.apache.velocity.Template;
import org.apache.velocity.context.Context;
import org.apache.velocity.tools.view.VelocityViewServlet;

View File

@ -6,12 +6,12 @@
<display-name>apache-velocity</display-name>
<servlet>
<servlet-name>ProductServlet</servlet-name>
<servlet-class>com.baeldung.apache.velocity.servlet.ProductServlet</servlet-class>
<servlet-class>com.ossez.apache.velocity.servlet.ProductServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>LayoutServlet</servlet-name>
<servlet-class>com.baeldung.apache.velocity.servlet.LayoutServlet</servlet-class>
<servlet-class>com.ossez.apache.velocity.servlet.LayoutServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>velocityLayout</servlet-name>

View File

@ -1,4 +1,4 @@
package com.baeldung.apache.velocity.servlet;
package com.ossez.apache.velocity.servlet;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;

View File

@ -1,4 +1,4 @@
package com.baeldung.apache.velocity.servlet;
package com.ossez.apache.velocity.servlet;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;