We have deployed our code to Tomcat 6.0.35 recently. This tag gives below exception :
An error occurred at line: 86 in the jsp file: /jsp/cntnt/Index.jsp
The method include(ServletRequest, ServletResponse, String, JspWriter, boolean) in the type JspRuntimeLibrary is not applicable for the arguments (HttpServletRequest, HttpServletResponse, Object, JspWriter, boolean)
86: <jsp:include page='<%=request.getAttribute("variable")%>'/>
How can I fix this issue? Please help. Thanks in advance!
Bear Bibeault wrote:Why are you still using scriptlets 10 years after JSP2 has been introduced?
Sadly, I still often see Java extensively being used inside JSP pages, even on fairly new applications. Only a couple times I've worked on an app that was developed back when JSP 0.9 or 1.0 just came out, so I guess at the time using Java code inside the JSP was OK.