I have SPRING MVC web application (my.war). It deploys on Tomcat 6 server to http://host/my/
folder. How can I change this to be accessible this web application in http://host/
?
相关问题
- Tomcat and SSL Client certificate
- org.apache.commons.fileupload.disk.DiskFileItem is
- Can't configure nginx as a proxy for tomcat wi
- Tomcat 8 how to remove sessionCookieName from URL
- @DateTimeFormat in Spring produces off-by-one day
相关文章
- Tomcat的User信息可以存储到数据库中吗?
- tomcat的server.xml支持从Oracle中获取数据吗?
- spring-mvc a标签带参怎样向controller发送请求。路径格式?
- web项目,Resonse Header发生解析错误,请大牛帮忙看看究竟是哪里的问题?
- Apache+Tomcat+JK实现的集群,如果Apache挂了,是不是整个服务就挂了?
- linux环境部署jpress,创建数据库时提提示连接失败
- Java spring framework - how to set content type?
- Java/Spring MVC: provide request context to child
Look at the
/ROOT
directory under/webapps
. In default installation it holds bunch of exploded JSPs and/WEB-INF
subdirectory that are accessible from main context.remove ROOT folder and make your app as ROOT.war deploy it as ROOT folder
You need to deploy your web application as ROOT.war
Have a look at this post which describes the whole topic pretty well: http://benhutchison.wordpress.com/2008/07/30/how-to-configure-tomcat-root-context/