读书人

Struts2-带参数中转到JSP

发布时间: 2012-09-04 14:19:30 作者: rapoo

Struts2----带参数转发到JSP

struts.xml

?

?

user_success.jsp

?

?

UserAction.java

?

package com.pegasus.web;import com.opensymphony.xwork2.ActionSupport;public class UserAction extends ActionSupport {private int type;public int getType() {return type;}public void setType(int type) {this.type = type;}public String execute() throws Exception {return "success";}}

读书人网 >JavaScript

热点推荐