Using network pharmacology and molecular docking, we predicted that JPHTF regulates Akt, PI3K, and mTOR through the PI3K/Akt/mTOR pathway, thus reversing trastuzumab resistance in HER2‐positive gastric cancer. This evidence concerns the gene ERBB2 and gastric cancer.