Quantcast
Viewing all articles
Browse latest Browse all 5661

JSP-EL code completion for methods in IDEA 12

Hi everyone,

 

I am wondering if there is any code completion for standard Java class methods in JSP-EL contexts. Suppose, you have the following class

 

public class TestService {

 

    public boolean testMethod() {

       return true;

    }

 

    public boolean testMethod(boolean value) {

       return !value;

    }

}

 

 

When I use this class within a JSP:

 

<jsp:useBean id="service" class="TestService" scope="application" />

 

Value: ${service.

 

I won't get any code completion suggestions for the methods "testMethod" or "testMethod(boolean)".

 

Why is that? I would suppose to get these methods suggested, since it's a standard feature with servlet 3.0 (or even earlier) spec.

 

Any ideas how to fix this?


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>