Environment - Eclipse IDE, running tomcat server by creating an instance of it in Eclipse.
Overall Setup - I have deployed 2 web application(A & B) in Tomcat server, where A calls B & things happens. This works fine most of the time.
On digging further, I tried to load a jsp page from app B with url -
http://localhost:8080/testrunner/login
but can't do that . However I am able to call the index.html from this url -
http://localhost:8080/testrunner/
Current Solution - The way to overcome this issue is to simply redeploy app B & I am good to go ie I am app A calls app B.
Question -
Any help/clue would be appreciated.
From provided details I can say
You have deployed application as testrunner
. So, http://localhost:8080/testrunner/
calls index.html
from the welcome-file-list
given in deployment descriptor.
404 or Not Found error message is a HTTP standard response code indicating that the
client was able to communicate with the server, but the server could not find what was
requested.
When you do http://localhost:8080/testrunner/login
, Server could not find any mapping named \\login
. So, Check You have mapping for " /login
" in your application called "testrunner"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.