Is it possible to use Eclipse content in jstl

Does the content in the next lookup help in my jsp view?

    List products;
    products= dao.getProductList;
    request.setAttribute("products", products);

  <c:forEach var="product" items="${products}">
  <c:out value="${product. <-- is content assist here on the product model javabean??

I think this is not because Eclipse knows what I'm working on Product.java?

+3
source share
3 answers

No, that’s not possible at all. JSP EL is a dynamic language; Eclipse does not have the information necessary to perform autocomplete.

+2
source

You can try my plugin. It is available at: http://fast-code.sourceforge.net/ . It's not as cute as content support, but you can print the field name of any class in jsp without opening the class.

+1
source

Auto-complete can be enabled by adding jstl-api.jar to the classpath.

0
source

Source: https://habr.com/ru/post/1784850/


All Articles