Jump to content

Recommended Posts

Posted

[quote name='manmadhan' timestamp='1352528340' post='1302773690']

ni yavva inni rojulu evadidi ***** friday ne dorkinda niku dbts adagadanki @3$% @3$%
[/quote]bench meeda unapudu weekend chaduvukovadam better bhaiya ..... week days marketing call thoo sariporhundhi...

  • Replies 92
  • Created
  • Last Reply

Top Posters In This Topic

  • chinni005

    44

  • Aamayakudu

    25

  • kiran karthik

    8

  • dollar vora

    5

Popular Days

Top Posters In This Topic

Posted

[quote name='Aamayakudu' timestamp='1352528425' post='1302773697']
k. mari jsp page loo <form method=post action =servletclassname> ani echava..
[/quote]
aa anni correct gaane ichane..! server side errors em levu.. JSP lo atleast warnings kuda levu..! properties file antha correct gaane set chesa..!
em ayi untadhi?

Posted

[quote name='Aamayakudu' timestamp='1352528608' post='1302773705']
eekada copy cheyee nee jsp page..
[/quote]
[CODE]
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="http://jzaefferer.github.com/jquery-validation/jquery.validate.js"></script>
<script type="text/javascript">
jQuery.validator.setDefaults({
debug:true,
success:"valid"
});;
</script>
<script>
$(document).ready(function() {
$("#CustomerUpdate").validate({
rules : {
customerName:{
required : true
},

customerPhone:{
required : true
},
customerCity:{
required : true
},

customerEmail:{
required: true,
email: true
}
}


}); // end validate
}); // end ready
</script>
</head>
<body>
<h1>Customer Details</h1>
<form action="CustomerUpdate" id="CustomerUpdate" name="CustomerUpdate" method="post">
phone<input type="text" name="customerPhone" id="customerPhone"><br>
name<input type="text" name="customerName" id="customerName"><br>
city<input type="text" name="customerCity" id="customerCity"><br>
email<input type="text" name="customerEmail" id="customerEmail"><br>
<input type="submit" value="submit"><br>
</form>
<%String update = (String)request.getAttribute("msg");
if(update!=null){
out.write(update);
}
request.setAttribute("msg", null);
%>
</body>
</html>
[/CODE]

Posted

[quote name='Aamayakudu' timestamp='1352528488' post='1302773702']
bench meeda unapudu weekend chaduvukovadam better bhaiya ..... week days marketing call thoo sariporhundhi...
[/quote]
baaga seppav bhayya

Posted

[quote name='Hava5' timestamp='1352528719' post='1302773708']

[CODE]
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
&lt;script src="http://code.jquery.com/jquery-latest.js"></script>
&lt;script type="text/javascript" src="http://jzaefferer.github.com/jquery-validation/jquery.validate.js"></script>
&lt;script type="text/javascript">
jQuery.validator.setDefaults({
debug:true,
success:"valid"
});;
</script>
&lt;script>
$(document).ready(function() {
$("#CustomerUpdate").validate({
rules : {
customerName:{
required : true
},

customerPhone:{
required : true
},
customerCity:{
required : true
},

customerEmail:{
required: true,
email: true
}
}


}); // end validate
}); // end ready
</script>
</head>
<body>
<h1>Customer Details</h1>
<form action="CustomerUpdate" id="CustomerUpdate" name="CustomerUpdate" method="post">
phone<input type="text" name="customerPhone" id="customerPhone"><br>
name<input type="text" name="customerName" id="customerName"><br>
city<input type="text" name="customerCity" id="customerCity"><br>
email<input type="text" name="customerEmail" id="customerEmail"><br>
<input type="submit" value="submit"><br>
</form>
<%String update = (String)request.getAttribute("msg");
if(update!=null){
out.write(update);
}
request.setAttribute("msg", null);
%>
</body>
</html>
[/CODE]
[/quote]


input tag ne end chesya ledhu chudu bhaiya .. adhi kadunda antha bagane undhu...


alert box peti data asalu vasthundhoo ravadam ledhoo chudu or servlet loo request.getParameter(name) ni console loo print cheyee .. asalu servlet ki veltundhoo ledhoo chudu..

Posted

[quote name='Aamayakudu' timestamp='1352529069' post='1302773735']
input tag ne end chesya ledhu chudu bhaiya .. adhi kadunda antha bagane undhu...


alert box peti data asalu vasthundhoo ravadam ledhoo chudu or servlet loo request.getParameter(name) ni console loo print cheyee .. asalu servlet ki veltundhoo ledhoo chudu..
[/quote]
ey input?

Posted

[quote name='Hava5' timestamp='1352529176' post='1302773748']

ey input?
[/quote] phone<input type="text" name="customerPhone" id="customerPhone"/><br>. last loo / symbol evali .

Posted

[CODE]
<form action="demo_form.asp">
First name: <input type="text" name="fname"><br>
Last name: <input type="text" name="lname"><br>
<input type="submit" value="Submit">
</form>
[/CODE]


bhayya input tag ki closing tag akkarle ankunta :)[quote name='Aamayakudu' timestamp='1352529281' post='1302773756']
phone<input type="text" name="customerPhone" id="customerPhone"/><br>. last loo / symbol evali .
[/quote]

Posted

we cant use syso statements in javascript n jquery try to giv some alerts u can find where the execution has stopped

Posted
sCo_^Y [quote name='kiran karthik' timestamp='1352572569' post='1302775166']
we cant use syso statements in javascript n jquery try to giv some alerts u can find where the execution has stopped
[/quote]
Posted

[quote name='Hava5' timestamp='1352572623' post='1302775173']
sCo_^Y
[/quote]
if u can, use javascript fo form validation

Posted

u jaffa vuncle nenika masala taadu anukoni vaccha[img]http://gifsoup.com/view1/4271498/sasdsd-o.gif[/img]

Posted

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script type="text/javascript">
function formValidation(){
alert("in validation");
var ph=document.getElementById("phone").value;
if(isNan(ph)){
alert("phone number must be numeric");

----------------
}
}
</script>

</head>
<body>
<h1>Customer Details</h1>
<form action="CustomerUpdate" id="CustomerUpdate" name="CustomerUpdate" method="post">
phone<input type="text" name="customerPhone" id="customerPhone"><br>
name<input type="text" name="customerName" id="customerName"><br>
city<input type="text" name="customerCity" id="customerCity"><br>
email<input type="text" name="customerEmail" id="customerEmail"><br>
<input type="submit" value="submit" onClick="[b]formValidation()[/b]"><br>
</form>
<%String update = (String)request.getAttribute("msg");
if(update!=null){
out.write(update);
}
request.setAttribute("msg", null);
%>
</body>
</html>

Posted
CITI_c$y CITI_c$y na mokam mandha idhi ela marchipoya[quote name='kiran karthik' timestamp='1352573114' post='1302775204']
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script type="text/javascript">
function formValidation(){
alert("in validation");
var ph=document.getElementById("phone").value;
if(isNan(ph)){
alert("phone number must be numeric");

----------------
}
}
</script>

</head>
<body>
<h1>Customer Details</h1>
<form action="CustomerUpdate" id="CustomerUpdate" name="CustomerUpdate" method="post">
phone<input type="text" name="customerPhone" id="customerPhone"><br>
name<input type="text" name="customerName" id="customerName"><br>
city<input type="text" name="customerCity" id="customerCity"><br>
email<input type="text" name="customerEmail" id="customerEmail"><br>
<input type="submit" value="submit" onClick="[b]formValidation()[/b]"><br>
</form>
<%String update = (String)request.getAttribute("msg");
if(update!=null){
out.write(update);
}
request.setAttribute("msg", null);
%>
</body>
</html>
[/quote]
×
×
  • Create New...