Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 24th, 2005, 07:26 PM
Registered User
 
Join Date: Feb 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Struts ActionError opbject

Hi Guys,

It looks like ActionError class or add method of ActionError class is deprectaed in Struts version 1.2. Can anyone tell me which class can be used instead of ActionError in this new release.

Here is how i create ActionErrors object:-

ActionErrors errors=new ActionErrors(); -----(1)
errors.add("xyz", new ActionError("abc.a1",ob1)); -----(2)

....but compiler states that this is deprecated at Line (2)

Thanks for suggestions
 
Old October 10th, 2007, 01:02 PM
Registered User
 
Join Date: Oct 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to kumar.jidesh
Default

Its me Jidesh ..i have read your comments...i also got the same compiler deprecated messge for actionerror object ...if you got the solution for your problem kindly help me out in this regards

Thanks in advance Jidesh .M






Similar Threads
Thread Thread Starter Forum Replies Last Post
struts actions package: "struts", other packages? ojasrege Struts 1 July 21st, 2007 06:02 AM
About Struts tulmohan BOOK: Professional Jakarta Struts 0 December 13th, 2006 03:00 AM
new to struts rakeshkumar Struts 4 April 29th, 2006 05:56 AM
How to get upgraded from Struts 1.1 to struts 1.2. rayalujakkaraju@yahoo.com Struts 0 January 3rd, 2006 04:29 AM
Need help with struts pkmleo J2EE 1 February 27th, 2005 06:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.