Hi.
I think i've fallen fowl of a bug.... Let me outline the steps to reproduce.
1) Create an application scoped bean
@ApplicationScoped
@Named("bugbean")
public class BugBean {
public String getBugVal(){
return "bugval";
}
}
2) Create a JSP to show it.
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<html>
${bugbean.bugVal}
</html>
3) Start Tomee.....Load the page. It doesn't work, bugbean is not resolved.
however. If you hot deploy a new version, (or make a code change within
Eclipse and allow TomEE to restart), then it works!
The same problem regardless if you use @Singleton or @ApplicationScoped
.... OR, am I doing something wrong?
Thanks.
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/JSP-named-bean-bug-tp4680338.html
Sent from the TomEE Users mailing list archive at Nabble.com.