Difference between revisions of "Receive API request with Tomcat"
From MyWiki
Line 4: | Line 4: | ||
[[the_web_xml_for_tomcat|The web.xml file]]<br> | [[the_web_xml_for_tomcat|The web.xml file]]<br> | ||
3. Two java files are used<br> | 3. Two java files are used<br> | ||
− | [[The_Api.java_file|Api.java]] | + | [[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