Problems in printing an Integer  
Author Message
Hamvil





PostPosted: 2006-10-10 21:44:00 Top

java-programmer, Problems in printing an Integer Hamvil ha scritto:

> 1) why I get the blank page instead of the usual exception in the jsp
> page?

Ok, I've fixed this (it was a problem with the configuration of the
logger

> 2) why the variable cannot be printed?

In the logger i get the following message:

javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE

What I do not understand is why struts looks for a key in the resources
file. It should just print the integer. Am I missing somethink?

BTW if I add the following in the struts-config the problem look fixed.
Is this the right approach?

<message-resources
parameter="MyWebAppResources"
null="false" />

Thanks