1. Zk include jsp but missing script of jsp zkoss.org |
2. Problem using ZK script in JSp zkoss.org |
3. Embedding a ZUL script into an existing servlet zkoss.orgpublic class HelloServlet extends HttpServlet { public void doGet (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { PrintWriter out = res.getWriter(); out.println("Below me is a ZK Window!"); String ZKWindow = getOutputOfZKApp("index.zul"); out.println(ZKWindow); out.close(); } private String getOutputOfAKApp(String zul_file){ /// what do I need to do to return the neede HTML code? }} |