i am using tomcat 7.0.11 which also support servlet 3.0 but
req.getServletContext().getEffectiveMajorVersion() // 2
req.getServletContext().getEffectiveMinorVersion() // 5
gives me this output.
how would i achive servlet 3.0?
it show jsp 2.1 while i expect 2.2 as tomcat support javaServer page 2.2.
and also how would i get JAvaServer Page version?
Make sure that
web.xmlspecifies Servlets 3.0:To get the version of JSP that you’re using, use the
javax.servlet.jsp.JspFactory: