-
Bug
-
Resolution: Won't Fix
-
Normal
-
None
-
6.5.1
-
None
-
None
-
None
Assume I have a Richlet that contains an Image,
path to Richlet: /RichletPage
path to Image: /Image.png
If I mapping /* with ZK Loader, only RichletPage works, cannot get Image.png
If I mapping /. with ZK Loader, only Image.png works, cannot access RichletPage
If I mapping both patterns, the same as /* case.
I also test it with a custom servlet below, Image.png is mapping to servlet with /* correctly but result is 404, there should something wron in ZK DHtmlLayoutServlet?
package test; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class TestServlet extends org.zkoss.zk.ui.http.DHtmlLayoutServlet { protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { System.out.println(request.getRequestURL()); super.doGet(request, response); } }
- relates to
-
ZK-1882 Support Richlet with Servlet Filter
- Closed