I have projectname tasknew but when i run it,it takes springmvcjava in url and works perfectlly,
complete url is
localhost:8080/SpringMVCjava
but at a same time my project name is tasknew ..what should i do?
go to your server(tomcat server project) project,which refers to tomcat.. then in server.xml file
edit path..in path attribute as i mentioned below
<Context docBase="tasknew" path="/tasknew" reloadable="true" source="org.eclipse.jst.jee.server:tasknew"/></Host>
I have to change path in path attribute..i have corrected the path name as /tasknew
and it works fine.
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.