dcsimg
ActionErrors,ActionError !_NEWLINE_!about display the error message.
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Yang_Liu
Posted On:   Thursday, October 25, 2001 11:55 PM

In the strut example, we should
new ActionError("error.password.mismatch")

"error.password.mismatch" define in the config file, if the property does not exit, then I can see nothing in the browser , I wanna to know whether I can display the property name even I does not define the property.


thanks

Re: ActionErrors,ActionError !_NEWLINE_!about display the error message.

Posted By:   Ted_Husted  
Posted On:   Saturday, October 27, 2001 08:37 AM

Actually, there is an ActionServlet property that governs this.
In your web.xml, include this:




null
false


with the other settings for your ActionServlet.


See the Struts Javadoc for other ActionServlet settings


HTH - Ted

Re: ActionErrors,ActionError !_NEWLINE_!about display the error message.

Posted By:   Ted_Husted  
Posted On:   Friday, October 26, 2001 02:44 AM

No, although that would be a useful option.


Ted

About | Sitemap | Contact