ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Java J2EE  >>  Java Related  >>  Struts
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
whats is mean Actionerrors and Actionerror?
 Question Submitted By :: Ravi
I also faced this Question!!     Rank Answer Posted By  
 
  Re: whats is mean Actionerrors and Actionerror?
Answer
# 1
we used to represent the errors in struts by actionerrors.
For every error we wil write one actionerror..like we wil 
write all the errors in actionerror object.

All ActionErrors Ojects are hold by ActionError Object.

Any how it is deprecated in Struts1.1, you wil find 
ActionMessages and ActionMessage objects in struts1.1
 
Is This Answer Correct ?    1 Yes 0 No
Venkateswar Reddy
 
  Re: whats is mean Actionerrors and Actionerror?
Answer
# 2
ActionErrors is the super class of ActionError.So we have 
to make one ActionError object for every error and add all 
the objects to ActionErrors object.
 
Is This Answer Correct ?    0 Yes 0 No
Asim
 
 
 
  Re: whats is mean Actionerrors and Actionerror?
Answer
# 3
In Struts, error messages are represented by creating 
an object of type ActionError i.e.,
    
   ActionError ae = new ActionError("errone");
  
   To store multiple ActionError objects we use 
ActionErrors object
   
   ActionErrors aes = new ActinErrors();
    aes.add("one",ae);
 
Is This Answer Correct ?    1 Yes 0 No
Mahesh
 
  Re: whats is mean Actionerrors and Actionerror?
Answer
# 4
An ActionErrors object has request scope.

but ActionError, Jsp page can retrieve the object from the
request and use the ActionError object contained whithin it to
display error messages to the user.
 
Is This Answer Correct ?    0 Yes 0 No
Foujil Ameen
 

 
 
 
Other Struts Interview Questions
 
  Question Asked @ Answers
 
Is Struts Action class Thread Safe? Wipro5
What is MVC Architecture? HCL4
what is the difference between SAX Parser and DOM Parser??  2
can anyone help me to send the code for Jasper Reporting in java?plz CSC2
what is purpose cvs and vss in eclipse?  2
collection framework hirarchy?  2
how the error can be showed in the jsp page in struts? Wipro2
What is Struts Flow? CTS4
why servlet is used as controller not JSP? MCS4
how canu done chechin and check out of u r project using with sample examples? CTS4
Wat is Difference between Mvc1 architecture and Mvc2 Architecture? HCL9
what are the actions in struts? Wipro5
who will run the execute method in struts? Wipro4
How do you customize ActionServlet? Ness-Technologies2
Difference between struts1.2 and struts2.0? HCL2
Difference between JSF Framework and Struts Framework. Accenture6
which MVC architecture struts follows and why?  4
how handle when client send multiple request at atime for multiple servlets servlets? IBM1
what is BUSINESS DELIGATE PATTERN,DAO,VO,DTO? TCS6
where you will implement the tiles in struts? Wipro2
 
For more Struts Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com