Posts by PeDiVo • 49 points
2 posts
-
1
votes1
answer332
viewsA: Struts2 - Is it possible to access a back end method of an Action in JSP?
The problem is that you are trying to access an attribute userFullyLogged, that doesn’t exist. Your call should simply be. <s:if test="%{isUserFullyLogged()}">Conteúdo</s:if> You can try…
-
3
votes1
answer975
viewsA: How to test a DAO (using Spring and JPA) out of a container?
The only way to do this is to make a JNDI MOCK, as it was posted on Oracle’s Randy Carver Blog. @BeforeClass public static void setUpClass() throws Exception { // rcarver - setup the jndi context…