JSP not rendering properly in Tomcat

后端 未结 4 2015
故里飘歌
故里飘歌 2020-12-21 11:47

I have a JSP page running in Tomcat that is not rendering properly. Here is what helloworld.jsp looks like:

<%@ page contentType=\"text/html;charset=UTF-         


        
4条回答
  •  滥情空心
    2020-12-21 12:15

    I found the problem. It's a stupid mistake on my end. Even though I fixed the correct JSP syntax and had the jsp extension, I needed to tell the CMS engine to explicitly render that one template as JSP. Thanks everyone for catching my syntax error though. I suppose it's something to watch out for when working with other frameworks.

提交回复
热议问题