首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

经过Struts2的action校验后跳转页面样例

2012-10-17 
通过Struts2的action校验后跳转页面样例login.jsp通过Struts2的action校验后跳转到main.jsp,main.jsp是个

通过Struts2的action校验后跳转页面样例

login.jsp通过Struts2的action校验后跳转到main.jsp,main.jsp是个框架页,样例如下:

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title></title></head><frameset rows="63,*,23" frameborder="no" border="0" framespacing="0">  <frame src="<%= path %>/sys/top.jsp" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" />  <frame src="<%= path %>/sys/center.jsp" name="mainFrame" id="mainFrame" />  <frame src="<%= path %>/sys/down.jsp" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" /></frameset></html>

?

?

热点排行