大神x7 求解

大神求解_java吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:465,963贴子:
大神求解收藏
本人菜鸟一枚,用ssh框架写了一个查询系统,设了两个用户,测试的时候发现第一个用户登录后在页面查询了一些内容,然后第二个用户登录后页面直接显示的是第一个用户查到的内容,接着第二个用户重新查了别的内容,第一个用户刷新自己的页面后内容就变成了第二个用户查询的内容,好像两个用户操作时没有完全独立,这是怎么回事?
用两个浏览器试试
package com.ch.import java.io.PrintWimport java.util.ArrayLimport java.util.Limport javax.servlet.http.HttpServletRimport javax.servlet.http.HttpServletRimport net.sf.json.JSONAimport net.sf.json.JSONOimport org.apache.struts2.ServletActionCimport org.apache.struts2.json.annotations.JSON;import com.ch.eneity.DaUimport com.ch.eneity.UserBimport com.ch.pageBean.PageBimport com.ch.service.UserSimport com.opensymphony.xwork2.ActionCimport com.opensymphony.xwork2.ActionS@SuppressWarnings( { &unchecked&, &serial&, &unused& })public class UserAction extends ActionSupport{
private javax.servlet.http.HttpServletR
private S private S private S DaUsers daUsers = new DaUsers(); private UserS private UserBean userB private PageBean pageB private int pageS private S private S private String niandu2; private S private S private S private S private S List list = new ArrayList(); List list2 = new ArrayList(); public List getList2() {
return list2; } public void setList2(List list2) {
this.list2 = list2; } @JSON(serialize=false) public String getOldupass() { } public void setOldupass(String oldupass) {
this.oldupass = } public String getXname() { } public void setXname(String xname) {
this.xname = } public String getNewupass() { } public void setNewupass(String newupass) {
this.newupass = } public String getConfirmpass() { } public void setConfirmpass(String confirmpass) {
this.confirmpass = } public int getId() { } public void setId(int id) {
this.id = } public String getNiandu2() {
return niandu2; } public void setNiandu2(String niandu2) {
this.niandu2 = niandu2; } public String getSname() { } public String getNiandu() { } public String getBumen() { } public int getPageSize() {
return pageS } public void setPageSize(int pagesize) {
this.pageSize = } public void setSname(String sname) {
this.sname = } public void setNiandu(String niandu) {
this.niandu = } public void setBumen(String bumen) {
this.bumen = } public UserBean getUserBean() {
return userB } public void setUserBean(UserBean userBean) {
this.userBean = userB } public PageBean getPageBean() {
return pageB } public void setPageBean(PageBean pageBean) {
this.pageBean = pageB } public int getPage() { } public void setPage(int page) {
this.page = }
public String getUname() { } public void setUname(String uname) {
this.uname = } public String getUpass() { } public void setUpass(String upass) {
this.upass = } public List getList() { } public void setList(List list) {
this.list = } public UserService getUservice() { } public void setUservice(UserService uservice) {
this.uservice = }//用户登录
public String loginy() throws Exception {
list = uservice.login(uname, upass);
//System.out.println(list.size());
//System.out.println(uname);
System.out.println(&bumen=&+bumen);
if (list.size() & 0) {
ServletActionContext.getResponse().getWriter().print(result);
} //主页 public String getPageLogin() throws Exception {
pageSize = 10;
niandu=&&;
niandu2=&&;
pageBean = uservice.queryForPage(pageSize, page,niandu,niandu2, bumen, sname);
return &newsList&;
}//数据分页,查询
public String getPageList() throws Exception {
if(pageSize == 0){
pageSize = 10;
if(page == 0){
pageBean = uservice.queryForPage(pageSize, page, niandu,niandu2, bumen, sname);
return &newsList&;
} //查询年度 public String find(){
list=uservice.find(userBean);
// System.out.println(&list=&+list);
return &chaxun&; } //查询部门 public String find2(){
list2=uservice.find2(userBean);
System.out.println(&list2=&+list2); } //调阅窗口 public String findopen()throws Exception{
uservice.find(userBean);
return &open&; }
public String Add()throws Exception {
uservice.Add(userBean);
return &tianjia&;
public String delect()throws Exception{
uservice.delete(userBean);
System.out.println(&删除成功&);
return &shanchu&;
//修改密码
public String update() throws Exception{
boolean result= //
System.out.println(xname+&/&+oldupass+&/&+newupass);
list = uservice.login(xname,oldupass);
// System.out.println(list.size());
// String z = &((\d+[a-zA-Z]+[-`=\\\[\];',./~!@#$%^&*()_+|{}:\&&?]+)|(\d+[-`=\\\[\];,./~!@#$%^&*()_+|{}:\&&?]+[a-zA-Z]+)|([a-zA-Z]+\d+[-`=\\\[\];',./~!@#$%^&*()_+|{}:\&&?]+)|([a-zA-Z]+[-`=\\\[\];,./~!@#$%^&*()_+|{}:\&&?]+\d+)|([-`=\\\[\];',./~!@#$%^&*()_+|{}:\&&?]+\d+[a-zA-Z]+)|([-`=\\\[\];,./~!@#$%^&*()_+|{}:\&&?]+[a-zA-Z]+\d+))&;
if(list.size() & 0){
daUsers.setYonghuming(xname);
daUsers.setKouling(newupass);
uservice.update(daUsers);
return &update&;
ServletActionContext.getResponse().getWriter().print(result);
//获取调阅信息
public String fildid()throws Exception{
HttpServletResponse response=ServletActionContext.getResponse();
response.setContentType(&text/charset=utf-8&);
userBean = uservice.fildid(id);
JSONObject jsonObject = JSONObject.fromObject(userBean);
response.getWriter().write(jsonObject.toString());
//重新登录
public String Logback()throws Exception{
return &tuichu&; } }
&%@ page language=&java& import=&java.util.*,com.ch.*& pageEncoding=&utf-8&%&&%@ taglib prefix=&s& uri=&/struts-tags&%&&%@ taglib prefix=&sx& uri=&/struts-dojo-tags&%&&%
import=&sun.misc.Request&%&&% 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=&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=&css/styles.css&&
&script charset=&gb2312& type=&text/javascript& src=&&%=basePath%&/js/admin.js&&&/script&
type=&text/javascript& src=&&%=basePath%&/js/jquery-1.7.2.js&&&/script& &META HTTP-EQUIV=&pragma& CONTENT=&no-cache&& &META HTTP-EQUIV=&Cache-Control& CONTENT=&no-cache, must-revalidate&& &META HTTP-EQUIV=&expires& CONTENT=&Wed, 26 Feb :57 GMT&&&STYLE type=&text/css&&&/STYLE&&SCRIPT type=&text/javascript&&
function findopen(id){
$(&#openbggray&).show();
type: &POST&,
url:&user_fildid&,
dataType:&json&,
data:{id:id},
success:function(user){
var json = eval(user);
$(&#xuhao&).html(json.xuhao)
$(&#uniandu&).html(json.niandu);
$(&#ubumen&).html(json.bumen)
$(&#beizhu&).html(json.beizhu);
function tijiao(){
window.location.href=&damanager2015://192.168.1.168,wddb/&;
$(document).ready(function () {
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
{// code for IE6, IE5
xmlhttp=new ActiveXObject(&Microsoft.XMLHTTP&);
}xmlhttp.onreadystatechange=function(){
if (xmlhttp.readyState==4 && xmlhttp.status==200)
document.getElementById(&main&).innerHTML=xmlhttp.responseT
}xmlhttp.open(&post&,&queryLogin&,true);xmlhttp.setRequestHeader(&Content-type&,&application/x-www-form-urlencoded&);xmlhttp.send();
});&/SCRIPT& &/head&&body style=&background:url(img/top.png) repeat-x;&&
&div style=&position:top:expression(this.offsetParent.scrollTop-10); && &div id=&loading& style=&width: 90%; height: 100%;& align=&center&&
&img src=&img/loading.gif& /&正在加载数据……
&div id=&utime& class=&time&&&/div&
&div id=&exporttmp&&
&/div& &div class=&logo&&查询系统&/div&
&div align=&right& style=&margin-right:150&&
&img src=&img/yonghu.png&/&&span style=&color: #133968;&&&&欢迎用户:${uname}&/span&
&img src=&img/shouye.png&/&&span style=&color: #133968&&&&&a onclick=&Logback()& style=&color: #133968&&重新登录&/a&&/span&
&s:token&&/s:token&
&div align=&center&&
年度:&select name=&niandu& id=&niandu& onclick=&niandux(1)&&
&option value=&&&全部&/option&
&s:iterator id=&list& value=&%{list}&&
&option value=&&s:property value ='#list[0]'/&&&&s:property value =&#list[0]&/& &/option&
&/s:iterator&
&/select& - &select name=&niandu2& id=&niandu2& onclick=&niandux(2)&&
&option value=&&&全部&/option&
&s:iterator id=&list& value=&%{list}&&
&option value=&&s:property value ='#list[0]'/&&&&s:property value =&#list[0]&/& &/option&
&/s:iterator&
&/select&&/span&
&span& 部门:&select name=&bumen& id=&bumen&&
&option value=&&&
&s:iterator id=&list2& value=&%{list2}&&
&option value=&&s:property value ='#list2[0]'/&&&&s:property value =&#list2[0]&/& &/option&
&/s:iterator&
&/select& &/span&
&span& &/span&
&span& &input name=&sname& id=&sname& class=&sousuo& value=&& /&
&input type=&button& value=&搜索& onclick=&mainxopen()&/&
&input type=&button& value=&清空& onclick=&shuaxin()&/& &/span&
&input type=&button& value=&管理& onclick=&tijiao()&/&
&div id=&main&&&/div&
&/body& &/html&
有没有大神给点提示的
登录百度帐号推荐应用
为兴趣而生,贴吧更懂你。或小木虫 --- 500万硕博科研人员喜爱的学术科研平台
&&查看话题
大神求解下为什么我老出现这个问题,怎么解决
The ratio of deformation speed to wave speed exceeds 1.0000 in at least one element. This usually indicates an error with the model definition. Additional diagnostic information may be found in the message file.
The ratio of deformation speed to wave speed exceeds 1.0000 in at least one element. This usually indicates an error with the model definition. Additional diagnostic information may be found in the message file.
Abaqus/Explicit Analysis exited with an error - Please see the&&status file for possible error messages if the file exists.
Abaqus/Explicit Analysis exited with an error - Please see the&&status file for possible error messages if the file exists.
再请教个问题:
我将圆柱设为解析刚体,但是由于圆柱直径太大,导致生成的圆柱的截面不是圆形,而是多边形,请问有什么办法可以解决这个问题,如何把这个圆更加细化,使多边形的边更短?
如果我要将变形体设为刚体,要怎么设置呢
首先你要确定&&是不是显示的问题& &几何圆形是可以通过设置显示精度&&显示的更圆。
& &在view - part Display Options 设置curve refinement 为fine 或者 extra fine 就行。
设置为刚体:
在interaction 模块,&&选择 create constraint&&,type 选择 rigid body&&在body element上选择已经划分好的网格,&&reference point&&选择 刚体的参考点 。
研究生必备与500万研究生在线互动!
扫描下载送金币受是什么意思我们帮几个女的说我是个受,什么意思,求解!!她们阴险的笑,好像在整我,到底是神马意思,大神求解~~~
唯一TA0132
受是只男同性恋中 被动(女性)的一方
男同性恋里面那个被kkk的那个就是受
0,,但我认为,会不会是说做爱时被干的那方.....
啦啦啦就是总是被攻扑的叫受=v=
我也被说了
我也被说了!什么意思啊?
噢噢噢噢哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦噢噢噢噢哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦
噢噢噢噢哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦哦 噢噢噢噢噢噢噢噢噢噢噢噢哦哦哦哦哦哦哦哦哦哦哦哦哦...
为您推荐:
扫描下载二维码新人求解【大神请进】_百度知道
新人求解【大神请进】
冷石为什么叫316?杰里科为什么叫Y2J?冷石为什么叫SCSA?
提问者采纳
楼主不要一连发很多贴;&gt,Y2J是year 2000 杰里科(杰里科不会拼)冷石口头禅是冷石的圣经第三章第十六节,SCSA是冷石奥斯顿的英文缩写,屠版违规
查看原帖&gt
其他类似问题
为您推荐:
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁小木虫 --- 500万硕博科研人员喜爱的学术科研平台
&&查看话题
求解 这个应该怎么处理?求大神求大神?
求解 这个应该怎么处理?
主要问题是rint和rsigma应该怎么处理以及Warning: no match for& & 6 atoms in&&FREE求详细的解决办法,一定要详细,我比较笨如果回答好的,可以加分。
Read instructions and data
** Warning: no match for& & 6 atoms in&&FREE&&**
Data:& & 5623 unique,& && &0 suppressed& &R(int) = 0.0732& &R(sigma) = 0.1145
Systematic absence violations:& & 0& & Bad equivalents:& & 0
&&** Cell contents from UNIT instruction and atom list do not agree **
wR2 =&&0.3732 before cycle& &1 for& &5623 data and& &496 /& &496 parameters
GooF = S =& &&&1.055;& &&&Restrained GooF =& && &1.055&&for& && &0 restraints
Mean shift/esd =& &0.245& & Maximum =& &2.177 for&&U33 C3& && && &at 17:42:07
Max. shift = 0.064 A for C2& && &Max. dU = 0.078 for C3& && && && && && && &
wR2 =&&0.3526 before cycle& &2 for& &5623 data and& &496 /& &496 parameters
GooF = S =& &&&0.982;& &&&Restrained GooF =& && &0.982&&for& && &0 restraints
Mean shift/esd =& &0.192& & Maximum =& &2.186 for&&U22 C2& && && &at 17:42:08
Max. shift = 0.177 A for C2& && &Max. dU =-0.149 for C2& && && && && && && &
wR2 =&&0.3454 before cycle& &3 for& &5623 data and& &496 /& &496 parameters
GooF = S =& &&&0.962;& &&&Restrained GooF =& && &0.962&&for& && &0 restraints
Mean shift/esd =& &0.150& & Maximum =& &2.175 for&&U22 C2& && && &at 17:42:09
Max. shift = 0.133 A for C2& && &Max. dU =-0.279 for C3& && && && && && && &
wR2 =&&0.3393 before cycle& &4 for& &5623 data and& &496 /& &496 parameters
GooF = S =& &&&0.942;& &&&Restrained GooF =& && &0.942&&for& && &0 restraints
Mean shift/esd =& &0.173& & Maximum =&&-2.597 for&&U22 C3& && && &at 17:42:10
Max. shift = 0.170 A for C2& && &Max. dU =-0.413 for C3& && && && && && && &
wR2 =&&0.3378 before cycle& &5 for& &5623 data and& &496 /& &496 parameters
GooF = S =& &&&0.937;& &&&Restrained GooF =& && &0.937&&for& && &0 restraints
Mean shift/esd =& &0.168& & Maximum =& &1.871 for&&U22 C2& && && &at 17:42:12
Max. shift = 0.121 A for C2& && &Max. dU =-0.056 for C2& && && && && && && &
wR2 =&&0.3360 before cycle& &6 for& &5623 data and& &496 /& &496 parameters
GooF = S =& &&&0.931;& &&&Restrained GooF =& && &0.931&&for& && &0 restraints
Mean shift/esd =& &0.157& & Maximum =& &1.460 for&&U22 C2& && && &at 17:42:13
Max. shift = 0.121 A for C2& && &Max. dU =-0.034 for C3& && && && && && && &
wR2 =&&0.3344 before cycle& &7 for& &5623 data and& &496 /& &496 parameters
GooF = S =& &&&0.926;& &&&Restrained GooF =& && &0.926&&for& && &0 restraints
Mean shift/esd =& &0.073& & Maximum =& &1.039 for&&U22 C2& && && &at 17:42:14
Max. shift = 0.082 A for C2& && &Max. dU =-0.045 for C3& && && && && && && &
wR2 =&&0.3344 before cycle& &8 for& &5623 data and& &496 /& &496 parameters
GooF = S =& &&&0.926;& &&&Restrained GooF =& && &0.926&&for& && &0 restraints
Mean shift/esd =& &0.042& & Maximum =& &0.922 for&&U22 C2& && && &at 17:42:15
Max. shift = 0.031 A for C2& && &Max. dU =-0.038 for C3& && && && && && && &
wR2 =&&0.3339 before cycle& &9 for& &5623 data and& &496 /& &496 parameters
GooF = S =& &&&0.924;& &&&Restrained GooF =& && &0.924&&for& && &0 restraints
Mean shift/esd =& &0.047& & Maximum =& &0.910 for&&U22 C2& && && &at 17:42:17
Max. shift = 0.055 A for C2& && &Max. dU =-0.041 for C3& && && && && && && &
wR2 =&&0.3333 before cycle&&10 for& &5623 data and& &496 /& &496 parameters
GooF = S =& &&&0.922;& &&&Restrained GooF =& && &0.922&&for& && &0 restraints
Mean shift/esd =& &0.065& & Maximum =& &0.854 for&&U22 C2& && && &at 17:42:18
Max. shift = 0.088 A for C2& && &Max. dU =-0.047 for C3& && && && && && && &
wR2 =&&0.3325 before cycle&&11 for& &5623 data and& &&&0 /& &496 parameters
GooF = S =& &&&0.920;& &&&Restrained GooF =& && &0.920&&for& && &0 restraints
R1 =&&0.1026 for& &2458 Fo & 4sig(Fo)&&and&&0.1798 for all& &5623 data
wR2 =&&0.3325,&&GooF = S =& &0.920,&&Restrained GooF =& & 0.920&&for all data
R1 =&&0.1799 for& &5623 unique reflections after merging for Fourier
Highest peak& & 0.51&&at&&0.4&&0.8456&&
Deepest hole& &-0.27&&at&&0.2&&0.6067
你好 其他问题怎么解决
这个只是精修给出的结果而已,不用管的,Rint和Rsigma和数据有关,你也改不了,建议多看看书或者多问问师兄师姐。软件熟悉了自然就明白了。
研究生必备与500万研究生在线互动!
扫描下载送金币}

我要回帖

更多关于 大神f1 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信