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

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -