Académique Documents
Professionnel Documents
Culture Documents
MyShares.Com is a website that allows registered users to get information about their shares in different companies and their current values. It provides all the common operations related to users such as registration, login, change password and forgot password.
Oracle10g Express Edition NetBeans IDE 6.5 Jdk 6.0 Tomcat 6.x CMail Server 5.x
10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40.
create table users ( userid number(5) primary key, email varchar2(50) unique, pwd varchar2(10) not null ); create table shares ( stockcode varchar2(10) primary key, company varchar2(50) unique, sharevalue number(10,2) ); create table user_shares ( userid number(5) references users(userid), stockcode varchar2(10) references shares(stockcode), noshares number(5), primary key (userid,stockcode) ); create sequence userid_seq start with 1 increment by 1 nocache; insert into users values(userid_seq.nextval, 'a@a.com','a'); insert into users values(userid_seq.nextval, 'b@b.com','b'); insert into shares values('infosys','InfoSys Ltd',2000); insert into shares values('tcs','Tata Consultancy services',1400); insert into shares values('sbi','State Bank Of India',600);
41. Create an account in CMail Server (Mail Server from youngzsoft.net and configure Outlook express to add a mail account for the user created in CMail Server. At the time of registering user in the project using newuser.jsp, use this email address for user so that you can test forgot password feature using this email address. 42. Start NetBeans 6.5. Open the project from c:\myshares folder. 43. Run this project - you must see login.jsp page.