- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
i want to encrypt the password and store in the database. i extract character find ascii value of that and changed that value and stored in the database.but when i use this it wont have much security. can anyone help me for password encryption.i m using JSP+HTML |
|
File file = new File("filename"); FileInputStream fis = new FileInputStream(file); len = (int)file.length(); //prepared stmt st.setBinaryStream(1, fis, len); I have uploaded the file into mysql database from servlet program. But how to read that file or tell me how to upload a doc into the database. |
|
After i establish the connection through url i want to post the data . After posting the data there is no change in client Can anyone help me import java.net.*; import java.io.*; import sun.net.[url]www.http.HttpClient;[/url] import javax.net.ssl.*; public class classname{ public static void main (String[] args) { try { URL u … |
|
I have created URL object and through this i want to access the User and password and submit the request through URL. |
|
I have created connection through URL. Now i want to validate user and password in the URl page. |
|
I want to connect to the database mysql . I am using Type IV driver Connector/J. How to connect to the database. When i load the driver class its working after that i get this error SQL Exception :Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** … |
|
[CODE][/CODE]How to upload the word document to msaccess database. i have created the datatype as OLEObject in msaccess i am using jsp.from jsp page i have to insert the word document to the database Please guide me. Thanks |
|
i have used this formula to generate random number. [code=java]Integer random_number = new Integer((int)(Math.floor(Math.random() * (max - min + 1)) + min)); while(numbers.size() < noofQn ) { Integer random_number = new Integer((int)(Math.floor(Math.random() * (max - min + 1)) + min)); System.out.println("Random number"+ random_number ); if(!numbers.contains(random_number)) { numbers.add(random_number); } }[/code] numbers … |