You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by daniel weiss <ge...@yahoo.com> on 2004/10/15 00:46:29 UTC

Render ActionMessages by a Action Class on a jsp

Hi folks, 

i tried to implement render some actionmessages on a jsp by a action class
i found this tutorial at http://javaboutique.internet.com/tutorials/excep_struts/index-2.html

I thought, this it'll be the right way to do this, but my result was:

javax.servlet.ServletException: Cannot find bean msg in any scope
	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)

org.apache.jsp.public_.registration.user_005fregister_jsp._jspService(user_005fregister_jsp.java:238)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

This should be occurec if the bean or object not saved in page, request or session scope.
Please have a look on the tutorial and tell me my mistakes ....

Thx a lot
geramaya


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org