java ee - Place for jsp page, where it will be available for spring and <welcome-file-list>? -


my web application using spring. want, application start started page home.jsp therefore add web.xml

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

file home.jsp must located in webapp. if move file, web apllication not find it. want use page spring. forced me copy file webapp/web-inf/views.

can use single home.jsp?

you cannot.

it's oracle's specification.

welcome files defined @ web application level. if server hosting multiple web applications, need define welcome files separately each web application. define welcome files using welcome-file-list element in web.xml. (the web.xml file located in web-inf directory of web application.)


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

image - ClassNotFoundException when add a prebuilt apk into system.img in android -