govind soni

Greenhorn
+ Follow
since Dec 07, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by govind soni

Could any one provide me Employee management system in core java .
Output should be like on console screen:


"Employee management System:
1 Add employee
2 Delete Employee
3 Update employee
4 search employee
5 exit

Choose Anyone:
1
Add employee:
Enter employee name:
Enter emlployee Id:
.................................. "


thease all detail chould be insert into a TEXT file not in database.
Same think for delete and search and update.
Please help me out



12 years ago
Check this code I tried myself but this is not showing correct email validation..... try by yourside and tell me the updates.

import java.lang.*;
import java.io.*;

public class EmailV{
public static void main(String[] args) throws IOException{
System.out.println("Email Validation");
BufferedReader bf =
new BufferedReader(new InputStreamReader(System.in));
System.out.println("Please enter mailid:");
String str1 = bf.readLine();
String myString="str1";
String at="@";
String dot=".";
int lstr = myString.length();
int lat = myString.indexOf("at");
int ldot = myString.indexOf("dot");



{


if (myString.indexOf(at)==-1 || myString.indexOf(at)==0 ||
myString.indexOf(at)==lstr)
System.out.println("Invalid E-mail ID");

else

if (myString.indexOf(dot)==-1 || myString.indexOf(dot)==0 ||
myString.indexOf(dot)==lstr)
System.out.println("Invalid E-mail ID");

else

if (myString.indexOf(at,(lat+1))!=-1)
System.out.println("Invalid E-mail ID");

else

if (myString.substring(lat-1,lat)==dot ||
myString.substring(lat+1,lat+2)==dot)
System.out.println("Invalid E-mail ID");

else

if (myString.indexOf(dot,(lat+2))==-1)
System.out.println("Invalid E-mail ID");

else


if (myString.indexOf(" ")!=-1)
System.out.println("Invalid E-mail ID");

else


System.out.println("valid E-mail ID");
}
}
}
12 years ago
:-D :-D Actually this task is asign to me by my manager. so help me out to find out the differ way without any API .
12 years ago
Could anybody help me out to solve the problem for email validation code in java, but without using any java inbuilt method like Macher class etc.
12 years ago
this code is not getting value from text box so please help me to resplve this <c:out value="${name}"/>
13 years ago
JSP
how values from one index.jsp will show on another show.jsp on browser using servlet in spring mvc framework?
13 years ago
how values from one index.jsp will show on another show.jsp on browser using servlet in spring mvc framework?
13 years ago