File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

the 2 application i am doing , need help -kenji from tokyo

 
kenji kunoichi
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?

kenji

from Royal school .Tokyo . japan .



Lets see you people help me or not
 
prasanna pati
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
add validations in the ActionForm
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic