Hello, I have to write the code for the following question in JSP. Can anyone gu
ID: 3678685 • Letter: H
Question
Hello, I have to write the code for the following question in JSP. Can anyone guide me on how to do it as I am new to JSP and I tried working on it but no luck? Also, Can you please tell me how do I set up MySQL in my eclipse. I have installed Tomcat and its running fine. The problem is, it's not connecting to SQL(I have installed MySQL and it's running perfectly fine but what things I have to add in order to work in eclipse so I can use it from JSP file). And I don't understand how to protect my password in my query string? Thanks in advance.
Explanation / Answer
In order to connect to MySQL you need better use JDBC to connect to database.
In order to hide password from query string, use http POST parameters instead of GET parameters in the request. They won't be visible anymore in the URL address bar. Also provide some encryption of password from jsp before sending to server and do a decryption on server to retieve the actual password, that would be more safer.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.