java - I have tomcat7 server i want that we access .war -
i have tomcat7 server in have upload .war file in webapps directory. after access url "localhost:8080/warfile"
but here want access .war in url "localhost:8080" possible, if yes please me
thanks
rename war file root.war, access via yourhost.com rather yourhost.com/nameofwar.
also, in local environment, set path variable "/" in server.xml. in eclipse, have "servers" project folder, can edit server.xml of specific tomcat server.
<context docbase="yourapp" path="/" reloadable="true" source="org.eclipse.jst.jee.server:yourapp" />
Comments
Post a Comment