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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -