package com.shyhao.qq.action; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import com.shyhao.qq.jobo.UserBean; import com.shyhao.qq.service.LoginService; public class RegAction extends Action { /** * Method execute * @param mapping * @param form * @param request * @param response * @return ActionForward */ public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { String userName=request.getParameter("userName"); String password=request.getParameter("password"); String email=request.getParameter("email"); String introduction=request.getParameter("introduction"); UserBean usb=new UserBean(); usb.setUserName(userName); usb.setPassword(password); usb.setEmail(email); usb.setIntroduction(introduction); LoginService lse=new LoginService(); lse.increaseUser(usb); return null; } }

DarlingMeow LV6
2023年5月20日
王华伟 LV19
2022年5月5日
j1an01 LV6
2021年11月24日
xiaohe52935 LV1
2021年8月17日
Me晴朗 LV2
2021年5月9日
宋国斌 LV4
2021年3月17日
2252536772 LV21
2021年1月21日
han329574 LV8
2020年7月21日
1690356080 LV38
2020年3月19日
a572046083 LV1
2020年3月8日

操作者
2024年4月17日
暂无贡献等级
3334004690 LV10
2024年3月20日
samh321 LV1
2023年12月9日
微信网友_6627705560322048 LV1
2023年8月30日
wanfeng_233 LV4
2023年8月29日
2017143155 LV12
2023年6月24日
小新Coding LV9
2023年6月21日
DarlingMeow LV6
2023年5月20日
1475406999 LV6
2023年5月4日
ALIT科技 LV4
2023年4月24日