velocity 是 Apache 模板项目,虽然我们现在还在用,但是用的频率已经不高了
This commit is contained in:
parent
b68f72562c
commit
d798a38eed
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.apache.velocity.model;
|
||||
package com.ossez.apache.velocity.model;
|
||||
|
||||
public class Product {
|
||||
|
|
@ -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;
|
||||
|
|
@ -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;
|
|
@ -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;
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
|
@ -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;
|
Loading…
Reference in New Issue