I am at the beginning of an end-of study, and I decided to work with JAVA / JEE, and since the web application that I will develop is an entreprise application that contains several features and will require several treatments CRUD and databases .... and stock management, staff, commission, leave ....... and will require well rich GUIs
So I decided to use JSF2 with primefaces components, and I want to integrate other frameworks such as Spring because only use JSF2 and Hibernate is somewhat underestimated for end-of study
In your opinion what he can give me the use of spring
and if you have any tips or suggestions and feedback of experiences
and even if you have other technologies that you can suggest me
What I want to happen is that once the user entered wrong username or password the program will then loop. But if the user entered the correct username or password, it wont loop asking the user for the correct one.
I'm new on this site but i know Core Java And Adv. Java very well.. So here is solution to u r problem if u have not got it yet.
First use assigment operator == in while loop
In your code loop will keep executing till the value of tryAgain is true . if u want loop to stop right after correct value of username and password u need to make tryAgainfalse in first if block and make tryAgaintrue in second if block. it will work properly
Last Visit: 31-Dec-99 18:00 Last Update: 20-Dec-13 11:16