摘要:
相应的action,在action中实例化了许多需要传递给客户端的参数public class OgnlAction extends ActionSupport { private Cat cat = new Cat(); private Map dogMap = new HashMap... 阅读全文
摘要:
public class UserAction { private String name; private int age; public String add(){ System.out.println(name+age); return "... 阅读全文
摘要:
四种方法设置返回时的参数(一)import java.util.Map;import com.opensymphony.xwork2.ActionContext;import com.opensymphony.xwork2.ActionSupport;public class LoginAction... 阅读全文
摘要:
Android 对其访问进行封装服务端package com.server;import java.io.PrintWriter;import javax.servlet.annotation.WebServlet;import javax.servlet.http.HttpServlet;impo... 阅读全文