
2个回答
展开全部
mian.js里怎么引入就怎么用
比如a.js里想用elementUI的组件就这样
import ElementUI from "element-ui";
ElementUI.Message ({
title: '警告',
message: '网页还没下载完毕,请稍等一下再操作',
type: 'warning'
});
2018-03-08 · 知道合伙人互联网行家
关注

展开全部
在jsp中使用js中的设置属性,进而获得session保存的属性值,实例如下:
session设置:
session.setAttribute("username",username);
session.setAttribute("password",password);
session获取:
username=session.getAttribute("username");
password=session.getAttribute("password");
session设置:
session.setAttribute("username",username);
session.setAttribute("password",password);
session获取:
username=session.getAttribute("username");
password=session.getAttribute("password");
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询