Win a copy of High Performance Python for Data Analytics this week in the Python forum!

Abhishek Roychoudhury

Greenhorn
+ Follow
since Oct 01, 2020
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Abhishek Roychoudhury

I am developing a web-app in , which takes input from an user into a form and registers the values into a database. The code is as follows:


HTML code (basically fetching the values from a form and sending them to the php script):



php script (Storing the values into a MYSQL database):



Error:

Failed to load resource: the server responded with a status of 405 (Method not allowed)  



How do I fix this? Please help me.

1 week ago
Hi, I wanted to enter input from the user from a JSP page and send those inputs to a java class which will store them in a MongoDB database. Here is my code for the java class:



I have added the MongoDB java driver 3-12.7.jar in my project build path, as you can see in the pictures given.

Now when I run the application, I get this error:




Why am I getting this error? I have imported all the mongoDB projects. Where am I going wrong? Please help me.
3 months ago