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
Post a Comment