Home  
 
  Ask Questions  
 
  Feed Back  
 
  My Questions  
 
  Contact Us  
 
  About Us  
 
 Interview Questions  
 Our Services  

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies

  • NEW INTERVIEW QUESTIONS.COM J2EE INTERVIEW QUESTIONS STRUTS INTERVIEW QUESTIONS DETAILS


    NewInterviewQuestions.com - Home for World's Largest Interview Questions Website.

    A D V E R T I S E M E N T




    Add to My Questions Add to My Questions | Forward Forward | Print Print


    Question Question why do we typecast ActionForm into our plain java bean class in Action class? What is the reason?
    Answer Answer

    i our html form will have responsble for taking the data from user and ActionForm will responsible for that,bean class is also sub class of ActionForm,tats y we have typecast ActionForm to bean class(sub class of ActionForm)

    Answered By: ravinder    Date: 2/8/2008

    bec we wrote the bean class by extending the ActionForm class , so struts code returns Our FormBean class in terms of ActionForm so we have to type cast in to our FormBean class.

    Answered By: Nagendra    Date: 3/10/2008

    Bcos in the Actoin class we have execute method ..it consits of ActionForm parameter...our bean class extends the ActionForm... so we can type cast the ActionForm to Bean and depending on the requirement we can use the methods in the bean class

    Answered By: VijayChoudary    Date: 4/11/2008

    whenever u want to execute the Action class ,the requirements are the form data.the form data is String data type and that String to convert objects of ActionForm in Action class

    Answered By: rangababu.b    Date: 9/2/2008

    bcos the action form contains the action class which is a controller in struts. The data can be inserted by typecasting the bean class. retuen type of execute is action forward thus control can be forwarded to another page .

    Answered By: sagar    Date: 9/6/2008

    © NewInterviewQuestions.com


    If you have the better answer, than send it to us. We will display your answer after the approval.
    Answer Answer:*
    Name Name:*
    Email Address Email Address:*
         Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
     


    Rate the above answer. Help us to know about the answer.
    Category Category Struts Interview Questions
    Rating Rating (0.0) By 0 users
    Added Added 1/10/2008
    Views Views 1
    Rate it Rate it!
    Free Offers Free Offers: 300 Free Magazines for you. No credit card required. No Shipping Charges. Absolutely Free for 1 Year.

    Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

    Notify me when answer is posted!
    Email:


    A D V E R T I S E M E N T





     Sponsors  
    Latest 10 Answers
    ABAP is basic (technical) side of SAP. which helps other function of business sibe ex.financial,sales,inventory& human resource.
    Cluster index work as a primary key and as we know in a single table only one primary key should be there....Hence only one records can take cluster index.
    Select Employee.*, Department.* from Employee LEFT OUTER JOIN Department ON Employee.EmpId=Department.DeptId
    Both are the connection object but SQLCLIENT using while connect with Sqlserver database and OLEDB using while connect with MS-access database and Oracle database.
    Only 1 cluster index and 255 non cluster index.
    Because it's used to read the data from the DB as Read-only manner, only forward direction not backward..hence its not supporting edit operation.
    I will throw my wife because if my wife dies ican get another but mother is only one I cannot get another
    When mistake is found by compiler is known as ERROR , when a mistake is found by tester while testing is a BUG and when mistake is found by the end user it is known as DEFECT.
    Create customer code & transporter code, create sales order, checke the payment received then released order from Finance, delivery, billing, invoice.
    Invoice is a request sent by vendor for the payment against services/goods with all the necessary details like - Price, Rate, Quantity, Vendor Name, Vendor Address, Unique Invoice Number (From Vendor), Terms & Conditions.

    G o o g l e Search

    Google

    Newinterviewquestions.com is a part of Vyom Network. Top



    Copyright ? 2008, newinterviewquestions.com. All rights reserved Privacy Policy

    Page URL: http://www.newinterviewquestions.com/interview/11975/Default.asp?cachecommand=bypass


    Download Yahoo Messenger