mysql - Index file can not run direct when enter URL in my java website? -


i working on java project on webserver. uploading .war file goes fine. when navigate site name, example www.example.com, website gives me error; entering www.example.com/index.jsp works fine. want second request equivalent first.

in web.xml need specify following

<welcome-file-list>     <welcome-file>index.jsp</welcome-file> </welcome-file-list> 

and index.jsp must placed in root context folder


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -