Difference between revisions of "Receive API request with Tomcat"

From MyWiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
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]]<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