Difference between revisions of "Receive API request with Tomcat"
From MyWiki
Line 3: | Line 3: | ||
2. For the tomcat app create a web.xml file with entries for the API app:<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> | [[the_web_xml_for_tomcat|The web.xml file]]<br> | ||
− | 3. Two java files are used | + | 3. Two java files are used<br> |
[[The_Api.java_file|Api.java]] | [[The_Api.java_file|Api.java]] |
Revision as of 16:36, 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