Recent Edits
<%@ taglib uri="/tags/struts-html" prefix="html" %>
%>
<title>Sibling</title>
else{
function chkVal(){
if (req.readyState == 4)
» complete change<code><pre>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%response.setHeader("Cache-Control","no-store");
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Sibling</title>
<script type="text/javascript">
var req;
var xmlhttp
var c =
var t
function valueChk(){
if(ajaxFrm.name.value==""){
alert("Student Name Can't Be Blank")
return false
}
else if(ajaxFrm.Sclass.value==""){
alert("Class Can't Be Blank")
return false
}
else{
chkVal()
}
}
function chkVal(){
var tmp="ANC"
url="http://localhost:8085/SchlMgmt/SiblingAjaxServlet?name="+ajaxFrm.name.value+"&Sclass="+ajaxFrm.Sclass.value;
alert("urlop----------"+url)
if (window.XMLHttpRequest){
req = new XMLHttpRequest();
try {
req.open("GET", url, true); //was get
}
catch (e) {
alert("Cannot connect to server");
}
req.send(null);
}
else if (window.ActiveXObject) { // IE
req = new ActiveXObject("Microsoft.XMLHTTP");
if (req) {
req.onreadystatechange = populateSecondBox;
req.open("GET", url, true);
req.send();
}
}
}
function populateSecondBox(){
//document.getElementById('secondBox').options.length = 0;
if (req.readyState == 4) {
alert("urlop-----status=200----")
window.close();
if (req.status==200) {
alert("urlop-----status=200----")
window.close();
var profileXML = httpRequest.responseXML.getElementsByTagName("Profile")[0];
alert("urlop-----status=200----"+profileXML)
var profileText = profileXML.childNodes[0].nodeValue;
alert("urlop-----status=200----"+profileText)
var mdiv = document.getElementById("theTable");
// document.getElementById("theTable").innerHTML = profileText;
mdiv.innerHTML = "<div style=\"color:red\">"+profileText+"</ div>";
}
else if(req.status==404) {
alert("URL doesn't exist!")
}
else {
alert("error------------------"+req.status)
}
}}
function valueReset(){
ajaxFrm.addFee.value="";
ajaxFrm.RaddFee.value="";
ajaxFrm.tutionFee.value="";
ajaxFrm.TransFee.value="";
ajaxFrm.AnnualChrg.value="";
ajaxFrm.Scurity.value="";
ajaxFrm.arreas.value="";
ajaxFrm.other.value="";
ajaxFrm.comm.value="";
}
</script>
</head>
<body bgColor="#00611c" text="#FFFFFF" link="#9933FF" vlink="#9900CC" alink="#990066">
<form name="ajaxFrm" method="post" >
<table width="75%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<th colspan="3">
Admission Fees
</th>
</tr>
<tr>
<th>
<br>
</th>
</tr>
<tr>
<th align="left" scope="col">Admission Fee :</th><th width="116" scope="col">
<input type="text" align="left" name="addFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)" class="red" ></th>
</tr>
<tr>
<th align="left" scope="col">Re-Admission Fee :</th>
<th width="133" scope="col"><input type="text" align="left" name="RaddFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Tution Fee:</th>
<th width="116" scope="col">
<input type="text" align="left" name="tutionFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)" class="red" ></th>
</tr>
<tr>
<th align="left" scope="col">Transportation Fee(If Applicatble) :</th>
<th width="133" scope="col"><input type="text" align="left" name="TransFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Annual Charges :</th>
<th width="133" scope="col"><input type="text" align="left" name="AnnualChrg" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Security (Refundable) :</th>
<th width="133" scope="col"><input type="text" align="left" name="Scurity" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Arreas (If Any) :</th>
<th width="133" scope="col"><input type="text" align="left" name="arreas" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr> <tr>
<th align="left" scope="col">Other Charges :</th>
<th width="133" scope="col"><input type="text" align="left" name="other" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Concession(If Any) :</th>
<th width="133" scope="col"><input type="text" align="left" name="comm" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr align="left"><td align="left">
<html:submit onclick="return valueChk()" >
Yes
</html:submit>
</td>
<td align="left"><html:submit onclick="return valueReset()" >
No
</html:submit>
</td>
</tr>
<tr align="center">
<td colspan="2"><span id="theTable"></span></td>
</tr>
</table>
</form>
</body>
</html>
</code></pre>
**Tutorial** Tutorial :"iBatis Tutorial":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php.
The iBATIS framework makes it easier to use a [[database]] with [[Java]], [[Ruby]] and [[.NET]] applications. iBATIS couples objects with [[stored procedures]] or [[SQL]] statements using a [[XML]] descriptor.
**Tutorial** Tutorial :"iBatis Tutorial":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php.
"iBatis Tutorial :"iBatis Tutorial":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php. ":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php....
The iBATIS framework makes it easier to use a [[database]] with [[Java]], [[Ruby]] and [[.NET]] applications. iBATIS couples objects with [[stored procedures]] or [[SQL]] statements using a [[XML]] descriptor.
"iBatis Tutorial :"iBatis Tutorial":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php. ":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php.
"iBatis Tutorial ":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php.
» complete changeThe iBATIS framework makes it easier to use a [[database]] with [[Java]], [[Ruby]] and [[.NET]] applications. iBATIS couples objects with [[stored procedures]] or [[SQL]] statements using a [[XML]] descriptor.
"iBatis Tutorial ":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php.
|"iBatis Tutorial":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php| |"t:dataTable":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php|...
h1. iBatis Tutorial & Spring iBatis integration
table{border:1px solid black}.
|"iBatis Tutorial":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php| |"t:dataTable":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php|
h1. iBatis Tutorial & Spring iBatis integration
table{border:1px solid black}.
|"t:dataTable":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php|...
» complete changeh1. iBatis Tutorial & Spring iBatis integration
table{border:1px solid black}.
|"t:dataTable":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php|
<code><pre>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
%>
<title>Sibling</title>
else{
function chkVal(){
if (req.readyState
<code><pre>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%response.setHeader("Cache-Control","no-store");
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Sibling</title>
<script type="text/javascript">
var req;
var xmlhttp
var c =
var t
function valueChk(){
if(ajaxFrm.name.value==""){
alert("Student Name Can't Be Blank")
return false
}
else if(ajaxFrm.Sclass.value==""){
alert("Class Can't Be Blank")
return false
}
else{
chkVal()
}
}
function chkVal(){
var tmp="ANC"
url="http://localhost:8085/SchlMgmt/SiblingAjaxServlet?name="+ajaxFrm.name.value+"&Sclass="+ajaxFrm.Sclass.value;
alert("urlop----------"+url)
if (window.XMLHttpRequest){
req = new XMLHttpRequest();
try {
req.open("GET", url, true); //was get
}
catch (e) {
alert("Cannot connect to server");
}
req.send(null);
}
else if (window.ActiveXObject) { // IE
req = new ActiveXObject("Microsoft.XMLHTTP");
if (req) {
req.onreadystatechange = populateSecondBox;
req.open("GET", url, true);
req.send();
}
}
}
function populateSecondBox(){
//document.getElementById('secondBox').options.length = 0;
if (req.readyState == 4) {
alert("urlop-----status=200----")
window.close();
if (req.status==200) {
alert("urlop-----status=200----")
window.close();
var profileXML = httpRequest.responseXML.getElementsByTagName("Profile")[0];
alert("urlop-----status=200----"+profileXML)
var profileText = profileXML.childNodes[0].nodeValue;
alert("urlop-----status=200----"+profileText)
var mdiv = document.getElementById("theTable");
// document.getElementById("theTable").innerHTML = profileText;
mdiv.innerHTML = "<div style=\"color:red\">"+profileText+"</ div>";
}
else if(req.status==404) {
alert("URL doesn't exist!")
}
else {
alert("error------------------"+req.status)
}
}}
function valueReset(){
ajaxFrm.addFee.value="";
ajaxFrm.RaddFee.value="";
ajaxFrm.tutionFee.value="";
ajaxFrm.TransFee.value="";
ajaxFrm.AnnualChrg.value="";
ajaxFrm.Scurity.value="";
ajaxFrm.arreas.value="";
ajaxFrm.other.value="";
ajaxFrm.comm.value="";
}
</script>
</head>
<body bgColor="#00611c" text="#FFFFFF" link="#9933FF" vlink="#9900CC" alink="#990066">
<form name="ajaxFrm" method="post" >
<table width="75%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<th colspan="3">
Admission Fees
</th>
</tr>
<tr>
<th>
<br>
</th>
</tr>
<tr>
<th align="left" scope="col">Admission Fee :</th><th width="116" scope="col">
<input type="text" align="left" name="addFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)" class="red" ></th>
</tr>
<tr>
<th align="left" scope="col">Re-Admission Fee :</th>
<th width="133" scope="col"><input type="text" align="left" name="RaddFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Tution Fee:</th>
<th width="116" scope="col">
<input type="text" align="left" name="tutionFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)" class="red" ></th>
</tr>
<tr>
<th align="left" scope="col">Transportation Fee(If Applicatble) :</th>
<th width="133" scope="col"><input type="text" align="left" name="TransFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Annual Charges :</th>
<th width="133" scope="col"><input type="text" align="left" name="AnnualChrg" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Security (Refundable) :</th>
<th width="133" scope="col"><input type="text" align="left" name="Scurity" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Arreas (If Any) :</th>
<th width="133" scope="col"><input type="text" align="left" name="arreas" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr> <tr>
<th align="left" scope="col">Other Charges :</th>
<th width="133" scope="col"><input type="text" align="left" name="other" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Concession(If Any) :</th>
<th width="133" scope="col"><input type="text" align="left" name="comm" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr align="left"><td align="left">
<html:submit onclick="return valueChk()" >
Yes
</html:submit>
</td>
<td align="left"><html:submit onclick="return valueReset()" >
No
</html:submit>
</td>
</tr>
<tr align="center">
<td colspan="2"><span id="theTable"></span></td>
</tr>
</table>
</form>
</body>
</html>
</code></pre>
<code><pre>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
%>
<title>Sibling</title>
else{
function chkVal(){
if (req.readyState
» complete change<code><pre>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%response.setHeader("Cache-Control","no-store");
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Sibling</title>
<script type="text/javascript">
var req;
var xmlhttp
var c =
var t
function valueChk(){
if(ajaxFrm.name.value==""){
alert("Student Name Can't Be Blank")
return false
}
else if(ajaxFrm.Sclass.value==""){
alert("Class Can't Be Blank")
return false
}
else{
chkVal()
}
}
function chkVal(){
var tmp="ANC"
url="http://localhost:8085/SchlMgmt/SiblingAjaxServlet?name="+ajaxFrm.name.value+"&Sclass="+ajaxFrm.Sclass.value;
alert("urlop----------"+url)
if (window.XMLHttpRequest){
req = new XMLHttpRequest();
try {
req.open("GET", url, true); //was get
}
catch (e) {
alert("Cannot connect to server");
}
req.send(null);
}
else if (window.ActiveXObject) { // IE
req = new ActiveXObject("Microsoft.XMLHTTP");
if (req) {
req.onreadystatechange = populateSecondBox;
req.open("GET", url, true);
req.send();
}
}
}
function populateSecondBox(){
//document.getElementById('secondBox').options.length = 0;
if (req.readyState == 4) {
alert("urlop-----status=200----")
window.close();
if (req.status==200) {
alert("urlop-----status=200----")
window.close();
var profileXML = httpRequest.responseXML.getElementsByTagName("Profile")[0];
alert("urlop-----status=200----"+profileXML)
var profileText = profileXML.childNodes[0].nodeValue;
alert("urlop-----status=200----"+profileText)
var mdiv = document.getElementById("theTable");
// document.getElementById("theTable").innerHTML = profileText;
mdiv.innerHTML = "<div style=\"color:red\">"+profileText+"</ div>";
}
else if(req.status==404) {
alert("URL doesn't exist!")
}
else {
alert("error------------------"+req.status)
}
}}
function valueReset(){
ajaxFrm.addFee.value="";
ajaxFrm.RaddFee.value="";
ajaxFrm.tutionFee.value="";
ajaxFrm.TransFee.value="";
ajaxFrm.AnnualChrg.value="";
ajaxFrm.Scurity.value="";
ajaxFrm.arreas.value="";
ajaxFrm.other.value="";
ajaxFrm.comm.value="";
}
</script>
</head>
<body bgColor="#00611c" text="#FFFFFF" link="#9933FF" vlink="#9900CC" alink="#990066">
<form name="ajaxFrm" method="post" >
<table width="75%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<th colspan="3">
Admission Fees
</th>
</tr>
<tr>
<th>
<br>
</th>
</tr>
<tr>
<th align="left" scope="col">Admission Fee :</th><th width="116" scope="col">
<input type="text" align="left" name="addFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)" class="red" ></th>
</tr>
<tr>
<th align="left" scope="col">Re-Admission Fee :</th>
<th width="133" scope="col"><input type="text" align="left" name="RaddFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Tution Fee:</th>
<th width="116" scope="col">
<input type="text" align="left" name="tutionFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)" class="red" ></th>
</tr>
<tr>
<th align="left" scope="col">Transportation Fee(If Applicatble) :</th>
<th width="133" scope="col"><input type="text" align="left" name="TransFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Annual Charges :</th>
<th width="133" scope="col"><input type="text" align="left" name="AnnualChrg" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Security (Refundable) :</th>
<th width="133" scope="col"><input type="text" align="left" name="Scurity" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Arreas (If Any) :</th>
<th width="133" scope="col"><input type="text" align="left" name="arreas" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr> <tr>
<th align="left" scope="col">Other Charges :</th>
<th width="133" scope="col"><input type="text" align="left" name="other" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Concession(If Any) :</th>
<th width="133" scope="col"><input type="text" align="left" name="comm" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr align="left"><td align="left">
<html:submit onclick="return valueChk()" >
Yes
</html:submit>
</td>
<td align="left"><html:submit onclick="return valueReset()" >
No
</html:submit>
</td>
</tr>
<tr align="center">
<td colspan="2"><span id="theTable"></span></td>
</tr>
</table>
</form>
</body>
</html>
</code></pre>
<code><pre>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
%>
<title>Sibling</title>
else{
function chkVal(){
if (req.readyState
<code><pre>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%response.setHeader("Cache-Control","no-store");
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Sibling</title>
<script type="text/javascript">
var req;
var xmlhttp
var c =
var t
function valueChk(){
if(ajaxFrm.name.value==""){
alert("Student Name Can't Be Blank")
return false
}
else if(ajaxFrm.Sclass.value==""){
alert("Class Can't Be Blank")
return false
}
else{
chkVal()
}
}
function chkVal(){
var tmp="ANC"
url="http://localhost:8085/SchlMgmt/SiblingAjaxServlet?name="+ajaxFrm.name.value+"&Sclass="+ajaxFrm.Sclass.value;
alert("urlop----------"+url)
if (window.XMLHttpRequest){
req = new XMLHttpRequest();
try {
req.open("GET", url, true); //was get
}
catch (e) {
alert("Cannot connect to server");
}
req.send(null);
}
else if (window.ActiveXObject) { // IE
req = new ActiveXObject("Microsoft.XMLHTTP");
if (req) {
req.onreadystatechange = populateSecondBox;
req.open("GET", url, true);
req.send();
}
}
}
function populateSecondBox(){
//document.getElementById('secondBox').options.length = 0;
if (req.readyState == 4) {
alert("urlop-----status=200----")
window.close();
if (req.status==200) {
alert("urlop-----status=200----")
window.close();
var profileXML = httpRequest.responseXML.getElementsByTagName("Profile")[0];
alert("urlop-----status=200----"+profileXML)
var profileText = profileXML.childNodes[0].nodeValue;
alert("urlop-----status=200----"+profileText)
var mdiv = document.getElementById("theTable");
// document.getElementById("theTable").innerHTML = profileText;
mdiv.innerHTML = "<div style=\"color:red\">"+profileText+"</ div>";
}
else if(req.status==404) {
alert("URL doesn't exist!")
}
else {
alert("error------------------"+req.status)
}
}}
function valueReset(){
ajaxFrm.addFee.value="";
ajaxFrm.RaddFee.value="";
ajaxFrm.tutionFee.value="";
ajaxFrm.TransFee.value="";
ajaxFrm.AnnualChrg.value="";
ajaxFrm.Scurity.value="";
ajaxFrm.arreas.value="";
ajaxFrm.other.value="";
ajaxFrm.comm.value="";
}
</script>
</head>
<body bgColor="#00611c" text="#FFFFFF" link="#9933FF" vlink="#9900CC" alink="#990066">
<form name="ajaxFrm" method="post" >
<table width="75%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<th colspan="3">
Admission Fees
</th>
</tr>
<tr>
<th>
<br>
</th>
</tr>
<tr>
<th align="left" scope="col">Admission Fee :</th><th width="116" scope="col">
<input type="text" align="left" name="addFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)" class="red" ></th>
</tr>
<tr>
<th align="left" scope="col">Re-Admission Fee :</th>
<th width="133" scope="col"><input type="text" align="left" name="RaddFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Tution Fee:</th>
<th width="116" scope="col">
<input type="text" align="left" name="tutionFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)" class="red" ></th>
</tr>
<tr>
<th align="left" scope="col">Transportation Fee(If Applicatble) :</th>
<th width="133" scope="col"><input type="text" align="left" name="TransFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Annual Charges :</th>
<th width="133" scope="col"><input type="text" align="left" name="AnnualChrg" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Security (Refundable) :</th>
<th width="133" scope="col"><input type="text" align="left" name="Scurity" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Arreas (If Any) :</th>
<th width="133" scope="col"><input type="text" align="left" name="arreas" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr> <tr>
<th align="left" scope="col">Other Charges :</th>
<th width="133" scope="col"><input type="text" align="left" name="other" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Concession(If Any) :</th>
<th width="133" scope="col"><input type="text" align="left" name="comm" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr align="left"><td align="left">
<html:submit onclick="return valueChk()" >
Yes
</html:submit>
</td>
<td align="left"><html:submit onclick="return valueReset()" >
No
</html:submit>
</td>
</tr>
<tr align="center">
<td colspan="2"><span id="theTable"></span></td>
</tr>
</table>
</form>
</body>
</html>
</code></pre>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%response.setHeader("Cache-Control","no-store");
response.setDateHeader...
» complete change<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%response.setHeader("Cache-Control","no-store");
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Sibling</title>
<script type="text/javascript">
var req;
var xmlhttp
var c =
var t
function valueChk(){
if(ajaxFrm.name.value==""){
alert("Student Name Can't Be Blank")
return false
}
else if(ajaxFrm.Sclass.value==""){
alert("Class Can't Be Blank")
return false
}
else{
chkVal()
}
}
function chkVal(){
var tmp="ANC"
url="http://localhost:8085/SchlMgmt/SiblingAjaxServlet?name="+ajaxFrm.name.value+"&Sclass="+ajaxFrm.Sclass.value;
alert("urlop----------"+url)
if (window.XMLHttpRequest){
req = new XMLHttpRequest();
try {
req.open("GET", url, true); //was get
}
catch (e) {
alert("Cannot connect to server");
}
req.send(null);
}
else if (window.ActiveXObject) { // IE
req = new ActiveXObject("Microsoft.XMLHTTP");
if (req) {
req.onreadystatechange = populateSecondBox;
req.open("GET", url, true);
req.send();
}
}
}
function populateSecondBox(){
//document.getElementById('secondBox').options.length = 0;
if (req.readyState == 4) {
alert("urlop-----status=200----")
window.close();
if (req.status==200) {
alert("urlop-----status=200----")
window.close();
var profileXML = httpRequest.responseXML.getElementsByTagName("Profile")[0];
alert("urlop-----status=200----"+profileXML)
var profileText = profileXML.childNodes[0].nodeValue;
alert("urlop-----status=200----"+profileText)
var mdiv = document.getElementById("theTable");
// document.getElementById("theTable").innerHTML = profileText;
mdiv.innerHTML = "<div style=\"color:red\">"+profileText+"</ div>";
}
else if(req.status==404) {
alert("URL doesn't exist!")
}
else {
alert("error------------------"+req.status)
}
}}
function valueReset(){
ajaxFrm.addFee.value="";
ajaxFrm.RaddFee.value="";
ajaxFrm.tutionFee.value="";
ajaxFrm.TransFee.value="";
ajaxFrm.AnnualChrg.value="";
ajaxFrm.Scurity.value="";
ajaxFrm.arreas.value="";
ajaxFrm.other.value="";
ajaxFrm.comm.value="";
}
</script>
</head>
<body bgColor="#00611c" text="#FFFFFF" link="#9933FF" vlink="#9900CC" alink="#990066">
<form name="ajaxFrm" method="post" >
<table width="75%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<th colspan="3">
Admission Fees
</th>
</tr>
<tr>
<th>
<br>
</th>
</tr>
<tr>
<th align="left" scope="col">Admission Fee :</th><th width="116" scope="col">
<input type="text" align="left" name="addFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)" class="red" ></th>
</tr>
<tr>
<th align="left" scope="col">Re-Admission Fee :</th>
<th width="133" scope="col"><input type="text" align="left" name="RaddFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Tution Fee:</th>
<th width="116" scope="col">
<input type="text" align="left" name="tutionFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)" class="red" ></th>
</tr>
<tr>
<th align="left" scope="col">Transportation Fee(If Applicatble) :</th>
<th width="133" scope="col"><input type="text" align="left" name="TransFee" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Annual Charges :</th>
<th width="133" scope="col"><input type="text" align="left" name="AnnualChrg" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Security (Refundable) :</th>
<th width="133" scope="col"><input type="text" align="left" name="Scurity" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Arreas (If Any) :</th>
<th width="133" scope="col"><input type="text" align="left" name="arreas" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr> <tr>
<th align="left" scope="col">Other Charges :</th>
<th width="133" scope="col"><input type="text" align="left" name="other" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr>
<th align="left" scope="col">Concession(If Any) :</th>
<th width="133" scope="col"><input type="text" align="left" name="comm" style="border-left: 0px;border-right: 0px; border-top: 0px; border-bottom: 2px solid rgb(0,0,0)"></th>
</tr>
<tr align="left"><td align="left">
<html:submit onclick="return valueChk()" >
Yes
</html:submit>
</td>
<td align="left"><html:submit onclick="return valueReset()" >
No
</html:submit>
</td>
</tr>
<tr align="center">
<td colspan="2"><span id="theTable"></span></td>
</tr>
</table>
</form>
</body>
</html>
The iBATIS framework makes it easier to use a [[database]] database with [[Java]], [[Ruby]] Java, Ruby and [[.NET]] .NET applications....
The iBATIS framework makes it easier to use a [[database]] database with [[Java]], [[Ruby]] Java, Ruby and [[.NET]] .NET applications. iBATIS couples objects with [[stored procedures]] stored procedures or [[SQL]] SQL statements using a [[XML]] XML descriptor.
The iBATIS framework makes it easier to use a database with Java, Ruby Java and .NET applications. iBATIS couples objects with...
The iBATIS framework makes it easier to use a database with Java, Ruby Java and .NET applications. iBATIS couples objects with stored procedures or SQL statements using a XML descriptor.
The iBATIS framework makes it easier to use a database with Java and .NET applications. iBATIS couples objects with stored...
The iBATIS framework makes it easier to use a database with Java and .NET applications. iBATIS couples objects with stored procedures or SQL statements using a XML descriptor.
The iBATIS framework makes it easier to use a database with Java and .NET applications. iBATIS couples objects with stored...
The iBATIS framework makes it easier to use a database with Java and .NET applications. iBATIS couples objects with stored procedures or SQL statements using a XML descriptor.
