K. Karacakaya

Ranch Hand
+ Follow
since May 20, 2014
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by K. Karacakaya

SignUpPage.jsp:


Registration.java
10 years ago
I don't know. And it shouldn't submit the values because of return false... Weird
10 years ago
Now it says: Welcome : ''. Registration is completed. Please click here and login to the system. And still add a new user to table.
10 years ago

Paul Ngom wrote:


Tomorrow I will add some features like if password != re typed password, give alert and if user doesn't put an [at] to email box, give alert. They shouldn't be hard.


I do hope that will not be had to achieve. I will always be happy to give a helping hand from my little experience.



Hey again and again Paul

I add some parts to my SignUpPage.jsp. Now it is like:


It gives alert but when I click on "OK" button in that pop-up, it still saves the new user to db.
For example, after this registration process: username: mark, password: mark, retype password: mark, name: Mark, surname: mark, email: mark, degree: Master's Degree, it gives an alert that says "There must be an [at] character in your email address". But after I click on OK, http://localhost:8080/loginpage/Registration comes and says: "Welcome : 'Mark' Registration is completed. Please click here and login to the system."

Do you have any idea how can I solve this problem?
10 years ago
Thanks again for your kindness and helpfulness. I will message you if I have some problems at some points. Feel free to say "I'm busy"
10 years ago
Yeah it is so confusing but probably I got that. Tomorrow I will add some features like if password != re typed password, give alert and if user doesn't put an [at] to email box, give alert. They shouldn't be hard.
10 years ago
Yeah Paul I just noticed it too and problem is solved I have learnt a lot of things thanks to you. Only thing I didn't understand is how we fix edit part. Can you explain it a bit?
10 years ago
Still the same error: SQLException caught: Column 'un' cannot be null
10 years ago
Done! Everything looks fine and database is changed. I couldn't understand how we fix it without adding something about return_code to UpdateUser.java.
10 years ago
now password appears:
null
123asdas
alisda
yavuzadas
[email protected]
Master's Degree
UPDATE failed!

Back to the Edit Page.

And username comes when I delete "disabled"
10 years ago
null
null
alifakms
yavuzcais
[email protected]
Doctoral Degree
UPDATE failed!

Back to the Edit Page.
10 years ago
Now it says:
UPDATE failed!

Back to Edit Page.
(I changed error message before).

It is because of return_code = 0. And it has never never changed in UpdateUser.java. It looks like some part of the code is missed.
10 years ago
Yeah I corrected. Now console shows an error: Error: Error: Parameter index out of range (1 > number of parameters, which is 0).
10 years ago
Hi Paul,
When I click on Submit button after sign up process. This page appears:

And for a logged in user, after editing information and clicking on Submit button. This page appears:


Also there is no change in database too.
10 years ago