Labels

Saturday, 7 July 2012

Hi all,
Its very funny to find only DESIGN PATTERNS Previous year question paper from the link sent by the JNTU. Rest of the subjects are from the different semesters.
You can download this previous year question paper from DROPBOX
 All The Best
regards,
-Karthikeya.V
Hi all,
It has been since long days we have visited this blog and made this group active.
As we are in Fourth Year now we should get ready for attending any interview that happens around us. So please be ready with the RESUME. And also Please register in the websites you are familiar with for JOB ALERTS. And i also request you to post the same as you do,because it helps others also do the same. Our Faculty Mr.Bala Renga Durai

http://www.jobs.freshersvoice.com/2012/04/emc2-employee-referral-drive-for-be.html 

also you can register with noukri.com 

If you are familiar with any of the websites which helps Us in JOB searching process, You can post here or comment here.
Please do share the information, it helps our friends.

Thursday, 17 May 2012

Hello all,
Make use of this blog by sharing all the information which you learn from outsource and distribute all the knowledge.
ALL THE BEST friends.

Monday, 23 April 2012

Steps to execute BDK:
1.Open a notepad and type your java code, add the statement "package sunw.demo.foldername;" in the top of code.
2.Save your java file in bdk\demo\sunw\demo\name of folder.
3.Compile the java file.
4.Go to first demo and then create a manifest file with .mft extension (create mft file with name of the class)
5.open command prompt and then go to bdk\demo
6.type the following command "jar cfm ..\jars\manifestfilename.jar manifestfilename,mft sunw\demo\foldername\*.class"
7.You can check your jar file in Jars folder in bdk.
8.Right click on the jar file and click extract to folder.
9.you can go to folder and inside folder you find META-INF folder
10.open the folder and you can find MANIFEST.MFT file
11.open the file and check whether you have the statement "Java-Bean: True"
12.If you find the statement you have successfully done with most of the work
13.Now go to beanbox folder in bdk and click on run.
14.You can find three or four windows open infront of you.
15.check for your jar file name in the left most window and if found you have successfully completed the execution.

Monday, 6 February 2012

Hi Friends,
Welcome back to the Blog.... Please note these 'validations' in your Observations and Practice them in WT lab tomorrow..

1) For the Fields Like NAME, which should not be left blank.. the following validation has to be done.

<html>
       <head>
             <script type="text/javascript">
                  function validateform()
                  {
                     varx=document.forms["myForm"]["fname"].value;
                     if(x==null || x==" ")
                     {
                        alert("First Name Must be Filled");
                        return false;
                     }
                  }
              </script>
         </head>
 <body>
  <form name="myForm" action="demo_form.asp"
                 onsubmit="return validateform();" method="post">
                First Name:<input type="text" name="fname">
      <input type="submit" value="submit">
  </form>
 </body>
</html>


2)For The fields where spaces are not allowed: // this is a function and should be used in scripts in head section
var ichas=" ";
for(var i=0;i<document.forms["myForm"]["fname"].value.length;i++)
{
if(ichas.Indexof(document.forms["myForm"]["fname"].value.charAt(0))!=-1)
{
alert("Spaces are Not allowed");
return false;
}
}



3)EMail Validation:
<html>
<head>
<script type=text/javascript>
function validateForm()
{
var x=document.forms["myForm"]["email"].value;
var atpos=x.IndexOf("@");
var dotpos=x.lastIndexOf(".");
if(atpos<1 || dotpos<atpos+2 || dotpos+2>=x.length)
{
alert("Not a Valid E-Mail Address");
return false;
}
}
</script>
</head>
<body>
<form name="myForm" action="demo_form.asp"
                             onsubmit="return validateform();" method="post">
E Mail: <input type="text" name="email">
<input type="submit" value="submit">
</form>
</body>
</html>

// these are the functions to be used with the scripts in the head section


4) Name to be only in alphabets only

var mychar1=/^[a-ZA-z]+$/;
if(!mychar1.test(document.forms["myForm"]["fname"].value))
{
alert("Enter name in alphabets only");
}

5) To have a fixed length:

if(fname.length<6)
{
alert("Enter fname minimum 6 characters");
return false;
}
if(fname.length>25)
{
alert("Enter Name with maximum of 25 characters");
return false;
}

6) Validating a Mobile Number:

var contact=document.forms["myForm"]["mobileNo"].value;
if(contact==null || contact==" ")
{
alert("Enter Mobile Number");
return false;
}

7) For a Field to be Numericals only:

var digits="0123456789";
var temp;
for(var i=0;i<document.forms["myForm"]["mobileno"].value.length;i++)
{
temp=document.forms["myForm"]["mobileno"].value.substring(i,i+1);
if(digits.IndexOf(temp)==-1)
{
alert("please Enter numbers only for mobile number");
return false;
}
}

8) For a Field to have a restricted length:
if(contact.length<10)
{
alert("Enter 10 digits only for Mobile Number");
return false;
}