2013年11月2日星期六

struts2 , in the jsp page accessed via ajax action, anyhow. Find great God look ! Jijiji

jsp page
var w1;
function Toselect1 () {
var sjyq = document.getElementById ("sjyq"). value;
$. ajax ({
async: false,
cache: false,
type: "get",
url: "<% = request.getContextPath ()%> / hbbusiness/describe2.action? bigname =" + sjyq,
success: function (remsg, textStatus) {
w1 = new Ext.Window ({
title: ' design requirements for standard statement' ,
width: 318,
height: 200,
resizable: false,
html: '',
});
w1.show ();
}
});
}
html code in part :
design requirements





Add a standard statement




struts.xml


/ manager / hbbusiness / need / smalltypename.jsp

action
/ / add standard statement
public String describe2 () {
System.out.println (".... / / / / / / / / / / / / / / / / / / / / / / / / / ......." ) ;
String message = "";
}


action in the output statement , not output , that is, to enter. Great God who help to see how else !
------ Solution ---------------------------------------- ----
front desk did not submit data from the past , right ?
tracking down your js, to see where there are problems
------ Solution ----------------------- ---------------------
firefox 's firebug, I do not know on google the next . You can set breakpoints
------ For reference only ---------------------------------- -----

weak weak ask, how tracking JS. Is the breakpoint you ? Js can not seem to break ?
------ For reference only -------------------------------------- -
you will not alert it ?
There firebug
------ For reference only ----------------------------- ----------
tracking it, and then check the configuration files and submit url
------ For reference only ------------- --------------------------
  This reply was moderator deleted at 2013-11-02 19:10:54

------ For reference only ---------------------------------- -----

Thank you, you can help me Ext.Window facie there anything wrong ? Get out, background data has also been in the background can be output.
If busy, no answer also give you points. Previous question has been resolved, thank you !
------ For reference only -------------------------------------- -

Thank you, you can help me Ext.Window facie there anything wrong ? Get out, background data has also been in the background can be output.
If busy, no answer also give you points. Previous question has been resolved, thank you !

没有评论:

发表评论