how to map <jsp-file> tag when configuring servlets programmatically in spring boot -


   in legacy application , there servlet configured in web.xml :       <servlet>               <servlet-name>myservlet</servlet-name>               <jsp-file>myjsp.jsp</jsp-file>     </servlet> 

how possible convert servletregistrationbean there no servlet jsp file mapped url ?

the normal instantiation requires servlet name , url mapping :

 servletregistrationbean registration = new servletregistrationbean(new abcservlet(),"/mypath"); 


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -