struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhulipudi, Sivannarayana" <sivannarayana.dhulip...@cgi.com>
Subject Struts2.x ActionError And ActionMessage
Date Thu, 16 Nov 2017 15:15:44 GMT
Hi All,

I tried to use struts 2.x  ActionError and ActonMessage classes to do validations. 

I saw a lot examples on internet, in those examples adding errors and messages to actionsupport
class like

 addActionErrors() and addActionMessage(). but I want to use ActionError and ActionMessage
classes in my project.

I'm not doing validation in action class . please help me someone on this topic. 

Thanks
Siva


________________________________________
From: Lukasz Lenart [lukaszlenart@apache.org]
Sent: Wednesday, November 15, 2017 11:52 PM
To: Struts Users Mailing List
Subject: Re: Migration from Struts1 to Struts2.5

2017-11-15 16:26 GMT+01:00 JK <janakiramkjr@gmail.com>:
> struts2-core-2.5.13.jar
> struts2-tiles-plugin-2.3.8.jar
> tiles-core-2.0.6.jar
> tiles-jsp-2.0.6.jar
> tiles-api-2.0.6.jar

You are using a wrong version of Tiles, Struts 2.5.13 and the Struts 2
Tiles plugin based on Tiles 3 - you must use Tiles 3.0.7 at least
http://struts.apache.org/maven/struts2-plugins/struts2-tiles-plugin/dependency-management.html


Regards
--
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


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


Mime
View raw message