Custom Implicit Objects
I know IDEA has support for JSP implicit objects like 'pageContext', 'request', 'response', etc. But, is there a way to configure IDEA to allow me to map my own custom implicit objects?
The reason I ask is that I'm working with Portlets and the JSR 168 specification for Portlets includes a tag library that I can use to set some implicit objects in the JSP page. Problem is that IDEA does not automatically recognize them and so I get a syntax error on the page.
I've included a JSP page snippet below that shows what I mean by custom implicit objects.
<%@ page pageEncoding="UTF-8"%>
<%@ page import="javax.portlet.*"%>
<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
<% PortletPreferences prefs = renderRequest.getPreferences(); %>
Portlet View Page
]]>
请先登录再写评论。