电影网站:www.aikan66.com

项目网站:www.aikan66.com
游戏网站:www.aikan66.com
图片网站:www.aikan66.com
书籍网站:www.aikan66.com
学习网站:www.aikan66.com
Java网站:www.aikan66.com
iOS网站:www.aikan66.com

----

通过ActionContext对象获取map类型的request、session、application,分别为这3个对象设置一个info属性并赋值,然后在jsp页面获取3种作用域下的info属性信息。

----

1、创建web项目,jwrm05-mapRequest,拷贝包到lib,配置web.xm。(详见web08)

----

2、创建类TestAction

package dog;

import java.util.Map;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport; public class TestAction extends ActionSupport {
private static final long serialVersionUID=1L; //map类型的request
private Map<String,Object>request;
//map类型的session
private Map<String,Object>session;
//map类型的application
private Map<String,Object>application; //构造方法
@SuppressWarnings("unchecked")
public TestAction(){
//获取ActionContext对象
ActionContext context=ActionContext.getContext(); //获取Map类型的request
request=(Map<String,Object>)context.get("request");
//获取Map类型的session
session=context.getSession();
//获取Map类型的application
application=context.getApplication();
} /*
* 请求处理方法
* return String
*/
public String execute() throws Exception{ //字符串信息
String info="星网:www.aikan66.com"; //向request添加信息
request.put("info", info); //向Session添加信息
session.put("info", info); //向application添加信息
application.put("info", info);
//成功返回
return SUCCESS;
}
}

----

3、配饰struts.xml

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<!-- 声明包 -->
<package name="myPackage" extends="struts-default">
<!-- 定义action -->
<action name="testAction" class="dog.TestAction">
<!-- 定义成功的映射页面 -->
<result>success.jsp</result>
</action>
</package>
</struts>

----

4、创建success.jsp

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>"> <title>My JSP 'success.jsp' starting page</title> <meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
--> </head> <body>
request范围内的info值:
<font color="red"><%=request.getAttribute("info") %></font><br>
session范围内的info值:
<font color="red"><%=session.getAttribute("info")%></font><br>
application范围内info值:
<font color="red"><%=application.getAttribute("info") %></font>
</body>
</html>

index.jsp中添加

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>"> <title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head> <body>
<a href="testAction.action">Map类型的request、session、application</a>
</body>
</html>

----

5、部署,访问:http://localhost:8080/jwrm05-mapRequest/index.jsp

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAs8AAACMCAIAAAAMQ9MLAAAgAElEQVR4nO2de3Acx33nR4lcl/iukqpc5VxUJarYSZXv4sDnKll1CJNU7CsnxSQo4VQ6PiRRfkAUaMkWi7BAWW9DpiRKWoECRJEQJYIQDYiEYEkABQs0Ib7Ex2IBAssFFw/hRQDEiwC4xGMffAhC548mmr09PT2zuzO7WPD7KfyxO9PT0zPT6N9nuntmNTcAAAAAgJNoqS4AAAAAAJY4sA0AALBKU1NTV1fX6OhoIBAIhUIRACwQCoUCgcDo6GhXV1djY2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uNbPsaivmHFKJ7mIQHNWN434lRtjEVQ56J+XMWrJzqCBrbESVQ68zXSg2DjpiIz6SoiqG7aradKwAASBdisQ2iexRWuKXjuhzySwKSO8Wo91LI93njjjOW+3gz2zCYJXqDqFtMeYPOFV5Yy3fPRL9vw2Atfw4Nsr0xQ1awroX0tEeBvvHdeng2zdZKMWQLdTf9/GnX1yLDCBrzEcVd6yytNT004clYWTH40yt/30ac5woAANKGJP0qm3kTyRrc6GS620TxdUkmf3ndxn0b3DuabhPb9ARI+jOKqhkw6YlNR6SudQjbAACQNAxtI4aIbuVv2cKfdPltBmulyewtmO1/y4wP1umdpvzYF9sRqS9E8i+TrX/JbCYAACBBFk3fxtIB719aLKBvAwAAFgmwDduBbSwWYBsAALBISJJtAAAAAOCmBbYBAAAAAGeBbQAAAADAWWAbAAAAAHAW2AYAAAAAnAW2AQAAAABngW0AAAAAwFlgGwAAAABwFtgGAAAAAJwFtgEAAAAAZ4FtAAAAAMBZYBsAAAAAcBbYBgAAAACcBbYBAAAAAGeBbQAAAADAWWAbAAAAAHAW2AYAAAAAnAW2AQAAAABn+U9tVmY+ct/CNwAAAABJRU5ErkJggg==" alt="" />

点击,结果

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAArwAAACoCAIAAACNAKqwAAAgAElEQVR4nO2de3BU153nr2ec2pns1kzVbM2mtmomNcls1exOhmyqktRqemZqkq3sVM0sZTaVXb/zkvF14sQUiR+JEydR4newcDu2sXEQNgEDVvyQrfg6xmBsHi3xEgIhgWiBBBICCRqE1GpjjHX2j9N9+nfP657uvq2WxPdT+qP7vO45t6/u73t+53fv8VIAAAAAAA54te4AAADMaHbu3Nnb2zs8PJzJZLLZbA4AB7LZbCaTGR4e7u3t3bFjR62v4tiAaAAAAD2dnZ0jIyOTk5O1NkBgdjM5OXnq1KnOzs5aX9ExANEAAAAybW1tg4ODkAsgRiYnJ48fP97W1lbrq7siIBrAjGPlypW17gK4rGlvbz99+nStTQyYm5w5c6a9vb3W13j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ABgTqDENISd8RpvAbExspGKzBUHUCf3kv/f3I1Cc6K4tUHV+WE2vSHJoHylyQZPRGmBkDqILa9QNFjPQ8WehuqLBu1CPqVC0SBH7yvPNMZcLNwlGuSRTEcsT9Ahe+HoBE0LUaJBqqtcM7os5XzSYqZ0aWkGogGAOUEJb4S0P+rg8iDEzEY1noY5OFU/LkSKBq1sqi5cNNiiOGPrj8vChGSoLK+RpttSxPhwBwAAAAcgGsrGbdU/2rtQE6hLAwAAAHACogEAAAAATkA0AAAAAMCJadrlEgAAAACzHYgGAAAAADgB0QAAAAAAJyAaAAAAAOAERAMAAAAAnPj/JJVYYlAXaXoAAAAASUVORK5CYII=" alt="" />

----

完毕

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
    "http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
    <!-- 声明包 -->
    <package name="myPackage" extends="struts-default">
        <!-- 定义action -->
        <action name="testAction" class="dog.TestAction">
            <!-- 定义成功的映射页面 -->
            <result>success.jsp</result>
        </action>
    </package>
</struts>

web12 使用map型的request、session、application的更多相关文章

  1. Struts2里如何取得request,session,application

    第一种:取得MAP类型的request,session,application在java文件里写 package com.xjtu.st; import java.util.Map; import c ...

  2. request,session,application

    JSP 的3个内置对象request,session,application,其实都有一个作用域,这些对象内部有一个Map成员用于存放数据,比如session对象的setAttribute(key,v ...

  3. Strut2 ognl取出存放在request,session,application和对象栈的中的值

    1.取出request,session,applicaiton中的值 a.往里面加入request,session,application中加入值 public String testServlet( ...

  4. Struts2初学 Struts2在Action获取内置对象request,session,application(即ServletContext)

    truts2在Action中如何访问request,session,application(即ServletContext)对象???? 方式一:与Servlet API解耦的方式      可以使用 ...

  5. request, session, application辨析(待更新)

    作用域 request < session < application 分析 1. request 只在一次请求中有效,当请求发送变化时,信息将失效. 2. session 在当前一次会话 ...

  6. struct2访问或添加request/session/application

    访问或添加request/session/application 1 通过ActionContext //这样放置 public String execute()  {     ActionConte ...

  7. page,request,session,application四个域对象的使用及区别

    转自:page,request,session,application四个域对象的使用及区别 1.page指当前页面.只在一个jsp页面里有效 .2.request 指从http请求到服务器处理结束, ...

  8. JavaWeb -pageContext/request/session/application

    pageContext/request/session/application总结 一.范围差异 1. pageContext jsp页面容器 当前页面有效 2. request 请求对象 同一次请求 ...

  9. struts2 action中获取request session application的方法

    共四种方式: 其中前两种得到的是Map<String,Object>  后两种得到的才是真正的request对象 而Map就是把request对象中的属性取出做成了键值对而已. [方法一] ...

随机推荐

  1. 新手搭建 x-boot 编译环境笔记

    1.需要先搭建交叉编译环境,即制作交叉编译工具链,这个过程比较复杂,所以我在这里使用别人做好的交叉编译工具链. 2018年8月27日15:03:37   2.X-boot 源码github地址:htt ...

  2. apue2e unp安装

    最近在读 Richard Stevens 的大作<UNIX环境高级编程>,相信很多初读此书的人都会与我一样遇到这个问题,编译书中的程序实例时会出现问题,提示 “错误:apue.h:没有那个 ...

  3. Linux的信号解释

    转自:http://blog.csdn.net/yusiguyuan/article/details/43272225 整理后: 信号signal unix系统中,用信号实现软件中断 子进程结束-&g ...

  4. 基于STM32F103ZET6 HC_SR04超声波测距模块

    这是最后的实验现象,改变不同的角度即可测得距离 板子 PZ6806L 超声波模块 HC_SR04 HC_SR04模块讲解 通过该超声波模块说明书,可明白供电需VCC 5V  还需GND  ECHO(回 ...

  5. 《Java 程序设计》课堂实践项目-简易计算器

    <Java 程序设计>课堂实践项目简易计算器 课后学习总结 目录 改变 简易计算器实验要求 课堂实践成果 课后思考 改变 修改了博客整体布局,过去就贴个代码贴个图很草率,这次布局和内容都有 ...

  6. Oracle OEM启动方法

    首先要启动 listener: lsnrctl start 对于dbconsole:emctl start dbconsole

  7. FFT/NTT/MTT学习笔记

    FFT/NTT/MTT Tags:数学 作业部落 评论地址 前言 这是网上的优秀博客 并不建议初学者看我的博客,因为我也不是很了解FFT的具体原理 一.概述 两个多项式相乘,不用\(N^2\),通过\ ...

  8. 苏州优步uber司机奖励政策(持续更新)

    滴快车单单2.5倍,注册地址:http://www.udache.com/ 如何注册Uber司机(全国版最新最详细注册流程)/月入2万/不用抢单:http://www.cnblogs.com/mfry ...

  9. ELK批量删除索引

    一.存在问题 用了一段时间elk发现如果索引长时间不删除,elk会越来越慢,重启elasticsearch服务器节点之前同步时间也会很长 二.解决方法(定期删除索引) 1.在elasticsearch ...

  10. xshell提示评估过期怎么办?

    刚刚打开xshell准备连上虚拟机写代码,结果提示评估过期,真的很气,在百度上找了好久才找到解决办法,现在分享给大家:. 1.复制这个链接在浏览器打开https://www.netsarang.com ...