the 2 application i am doing , need help -kenji from tokyo
Joined: Jun 02, 2007
hi all , I am a new programmer in struts . I want to do 2 sample applcation , so asking HELP regarding this .
the 2 applications are simple but if I can make the barebone of it then I can add complexity . so please read and help .
I am making a table in MYsql . it have 2 rows username(primary key, unique) and password ( not null ) .Now I will make a log in application but I also make validations like >> if I provide black password the application will say password is blank. If I provide wrong password it will say its wrong . like this . and
2nd application :
I will have different persons like mods , users , admins who have different privilages , for the time being I want to do like there are 3 pages . now user can view only one page , mods can view 2 pages and admin all 3 pages . How to do that ?