|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
Jsp problem. . .
"Input type=" government "name="_ftn1"" serviceId ""
Lane has been how the same page. . . The value of the input box. . . . . . . . . . . . . . . |
Help me ah. . . . Their roof. . . . . |
Good variety If a=document.all : var. (Your name) |
Javascript can not be achieved ah. . . |
How variable it put a variable transmission java ah? |
Javascript variable jsp no way to pass on? |
Do. . . Five-plus pages bars. . . Javascript is operating at different levels and the jsp. . Page is a deal. . . And the server is a deal |
Analyze specific issues, but in theory js jsp running behind. Js to client implementation. |
-->
Is there a solution? ? ? Em02 : : |
The simplest approach is to add a middle page in the middle |
Can be a little more specific? Point, the import value of this function should have nothing be said. |
So not only is the increase in line. . . . . . To find the answers. . . . . . . . . . . . . Ha ha
Thank you for your concern. . . . |
Request.get |
The so-called java object is server端 survival in the browser terminal Form for submission (or ajax) how to deal? But on the other hand, the value of java exercises pages can be variable, because the valuation is jsp compiled by the time the servlet, and the final response page generated upon request |
Ampere
Ajax die
[code]
"!DOCTYPE HTML PUBLIC" -//W3C//DTD HTML 4.0 Transitional//EN ""
"HTML>
"Head are
"Meta http-equiv=" Content-Type "content=" text/html; charset=GB2312 ""
"TITLE> ajax" /TITLE>
"Meta NAME=" Generator "CONTENT=" EditPlus ""
"Meta NAME=" Author "CONTENT=" ""
"Meta NAME=" Keywords "CONTENT=" ""
"Meta NAME=" Description "CONTENT=" ""
"Script type=" text/javascript ""
Var xmlHttp;
Function createXMLHttpRequest ()
{
If (window.ActiveXObject)
{
XmlHttp = new ActiveXObject ( "Microsoft.XMLHTTP");
}
Else if (window.XMLHttpRequest)
{
XmlHttp = new XMLHttpRequest ();
}
}
StartRequest function ()
{
CreateXMLHttpRequest ();
XmlHttp.onreadystatechange = handleStateChange;
XmlHttp.open ( "GET" and "innerHTML.xml" true);
XmlHttp.send (null);
}
HandleStateChange function ()
{
If (xmlHttp.readyState ====== 4)
{
If (xmlHttp.status ====== 200)
{
Document.getElementById ( "results"). InnerHTML = xmlHttp.responseText;
}
}
}
"/script>
"/HEAD>
"BODY>
"Action= form" # ""
"Input type=" button "value=" Search for Today 's Activities "onClick=" startRequest (); "Everywhere
"/form>
"Assume filled="f"" results "and" </div>
"/BODY>
"/HTML>
[/code]
Put xmlHttp.open ( "GET", "you connect to the procedures", true); The change on the list. |
-->
Feeling this right in saying that upswing WWW browser on the server how can "grab" data? At least servlet is no way to get data.
JS months of this addendum should you value traditional past. |
-->
Thank you. . . .
Directly with the current page. . . . Request.getParameter ( "servicId"); |
| |