» tagged pages
» logout

(Feed found, click Add Page to syndicate.) Error finding feed, please try again » Find feed title

A Blog Page allows you to add entries, for news or other time sensitive postings

(Login required to save to your tagged pages.)
(or Cancel)

Recent Edits

Struts+ajax+hibernate example

September 5

<%@ 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>

Undo this change because:
edit by 146.243.4.157

iBATIS

February 21

**Tutorial** Tutorial :"iBatis Tutorial":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php.

» complete change

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.

Undo this change because:
edit by 146.243.4.157

iBATIS

February 21

"iBatis Tutorial :"iBatis Tutorial":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php. ":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php....

» complete change

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.

edit by 146.243.4.157

iBATIS

February 21

"iBatis Tutorial ":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php.

» complete change

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 ":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php.

edit by 146.243.4.157

iBATIS

February 21
iBATIS SQL Maps
Undo this change because:
editing undone by 202.78.230.194

iBATIS

January 20
New Icon Default Icon. Previous Icon Old Image
Undo this change because:
edit by markpo

iBatis Tutorial & iBatis Spring Integration

January 9

|"iBatis Tutorial":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php| |"t:dataTable":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php|...

» complete change

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|

Undo this change because:
created by markpo

iBatis Tutorial & iBatis Spring Integration

January 9
The page was created.
iBatis Tutorial & iBatis Spring Integration
Article

h1. iBatis Tutorial & Spring iBatis integration

table{border:1px solid black}.

|"t:dataTable":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php|...

» complete change

h1. iBatis Tutorial & Spring iBatis integration

table{border:1px solid black}.

|"t:dataTable":http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials.php|

Undo this change because:
editing re-applied dland

Struts+ajax+hibernate example

July 26, 2007

<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>

editing undone by 196.206.218.28

Struts+ajax+hibernate example

July 26, 2007
“dd”

<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>

edit by alex

Struts+ajax+hibernate example

February 27, 2007

<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>

created by poojayadav

Struts+ajax+hibernate example

February 26, 2007
The page was created.
Struts+ajax+hibernate example
Article

<%@ 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>

Undo this change because:
edit by alex

iBATIS

September 12, 2006
New Icon New Image Previous Icon No Icon.
edit by alex

iBATIS

September 12, 2006

The iBATIS framework makes it easier to use a [[database]] database with [[Java]], [[Ruby]] Java, Ruby and [[.NET]] .NET applications....

» complete change

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.

edit by alex

iBATIS

September 12, 2006
[[asf2.0|Apache Apache License 2.0]] 2.0
Undo this change because:
created by byron

Using IBATIS with Spring and Struts

September 12, 2006
The entry was created.
iBATIS Spring Struts
http://www.learntechnology.net/struts-spring-ibatis.do
Using IBATIS with Spring and Struts
Undo this change because:
edit by byron

iBATIS

September 12, 2006
ORM dao
Undo this change because:
created by byron

OnJava article on using IBatis DAO

September 12, 2006
The entry was created.
iBATIS
http://www.onjava.com/pub/a/onjava/2005/08/10/ibatisdao.html
OnJava article on using IBatis DAO
Undo this change because:
created by byron

Background about the project

September 12, 2006
The entry was created.
iBATIS
http://ibatis.apache.org/background.html
Background about the project
Undo this change because:
created by byron

Useful links

September 12, 2006
The page was created.
iBATIS
Useful links
Links
Undo this change because:
edit by byron

iBATIS

September 12, 2006

The iBATIS framework makes it easier to use a database with Java, Ruby Java and .NET applications. iBATIS couples objects with...

» complete change

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.

edit by byron

iBATIS

September 12, 2006

The iBATIS framework makes it easier to use a database with Java and .NET applications. iBATIS couples objects with stored...

» complete change

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.

edit by byron

iBATIS

September 12, 2006
Apache License 2.0
edit by byron

iBATIS

September 12, 2006
http://ibatis.apache.org/ http://www.ibatis.com/
Undo this change because:
created by 17.255.240.14

del.icio.us/tag/ibatis

July 13, 2006
The page was created.
iBATIS
del.icio.us/tag/ibatis
Blog
Undo this change because:
deleted by 17.255.240.14

iBATIS

July 13, 2006
The page and its contents were erased.
iBATIS SQL Maps
http://www.codezoo.com/cs/user/run/component/159?x-r=atom
Undo this change because:
deleted by 17.255.240.14

http://ibatis.com/

July 13, 2006
The entry and its contents were erased.
http://ibatis.com/
Downloads
Undo this change because:
deleted by 17.255.240.14

July 13, 2006
The entry and its contents were erased.
Also Named
Undo this change because:
edit by alex

iBATIS

June 1, 2005

The iBATIS framework makes it easier to use a database with Java and .NET applications. iBATIS couples objects with stored...

» complete change

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.

edit by alex

iBATIS

June 1, 2005
iBATIS SQL Maps
edit by alex

iBATIS

June 1, 2005
iBATIS iBATIS SQL Maps
Undo this change because: