Reputation: 3742
Is content assist possible in the follow scenerio 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 kind of think it is not because how would Eclipse know that I am working on Product.java
?
Upvotes: 3
Views: 1496
Reputation: 418
The autocomplete can be enabled by adding jstl-api.jar to the classpath.
Upvotes: 0
Reputation: 41097
You can try my plugin. It is available at : http://fast-code.sourceforge.net/. It is not as sweet as content assist but you can print field name of any class in a jsp without opening the class.
Upvotes: 1
Reputation: 403481
No, this generally isn't possible. JSP EL is a dynamic language, Eclipse doesn't have the information it needs to perform auto-complete.
Upvotes: 2