Saturday, March 26, 2016

Tiles javax.servlet.ServletException: Could not resolve view with name 'myTileName' in servlet with name 'My Servlet'









Problem :

Tiles javax.servlet.ServletException: Could not resolve view with name 'myTileName'  in servlet with name 'My Servlet'


Soluiton

The above error was facd when there was no related tiles definition in the related layout file of tiles , once the tile definition was created this error was gone.


Note I thaught initially that it was not picking the page correctly but the problem was it was not finding the tiles definition.