struts2migrationthemesstrutstiles-3

Why it is showing some bigger font size on the web page after migration Struts 1 to Struts 2 + Tiles 3?


I am working on Struts 1 to 2 migration application. I have successfully migrated JSP, Actions, POJOs and XMLs too.

But, when I integrated Tiles 3 in my Struts 2 application, suddenly, it is showing some bigger font size on the web page, compared to Struts 1 + Tiles.

I am not getting what exactly happening, which is impacting on JSP as if I haven't changed anything w.r.t HTML, CSS?


Solution

  • Answering my own question.

    Issue was resolved after adding below dtd in jsp,

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    

    Somehow I missed this to add in jsp.