Difference between revisions of "Receive API request with Tomcat"
From MyWiki
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Steps:<br> | Steps:<br> | ||
− | 1. Needs mysql connection, create database and credentials<br> | + | 1. Needs mysql connection, create database and credentials.<br> |
+ | 2. For the tomcat app create a web.xml file with entries for the API app:<br> | ||
+ | [[the_web_xml_for_tomcat|The web.xml file]]<br> | ||
+ | 3. Two java files are used<br> | ||
+ | [[The_Api.java_file|Api.java]]<br> | ||
+ | [[sql_java_file|Sql.java]]<br> |
Latest revision as of 17:12, 25 April 2025
Steps:
1. Needs mysql connection, create database and credentials.
2. For the tomcat app create a web.xml file with entries for the API app:
The web.xml file
3. Two java files are used
Api.java
Sql.java