You need to create static field variables for those constants in your
Action class:
public static final String READ = "read";
public static final String WRITE = "write";
Don
On 12/13/06, red phoenix <[EMAIL PROTECTED]> wrote:
I am puzzled with struts2.0 action file,my files are follows:
confi
I am puzzled with struts2.0 action file,my files are follows:
configure file is follows
/chat/read.jsp
/chat/write.jsp
action file is follows:
public String execute() throws Exception {
String flag=request.getParameter("flag");
if("1".equals(flag))
return SUCCESS;
else if("2".equ
2 matches
Mail list logo