Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How will the struts know which action class to call when
you submit a form?

Answers were Sorted based on User's Feedback



How will the struts know which action class to call when you submit a form?..

Answer / lovish gupta

It will be written in a file calles struts-config.xml...

Is This Answer Correct ?    8 Yes 0 No

How will the struts know which action class to call when you submit a form?..

Answer / chetanya

struts-config.xml in this file.
under the tag <type> absolute path of Action class
under the tag <name> name of the action form class
Both of this will be called when the desired action
mentioned under the <path> tag will be called and
struts-config.xml will call action class mentioned in the
<type> tag and also populate the fields of form class
mentioned under <name> tag.

Thanks,
Chetanya

Is This Answer Correct ?    3 Yes 0 No

How will the struts know which action class to call when you submit a form?..

Answer / shrinath rodage

when we submited button that time the request first goes to
the struts-config.xml file and then search the corresponding
action class and it will perform the action and it will
respond to the browser...

Is This Answer Correct ?    0 Yes 0 No

How will the struts know which action class to call when you submit a form?..

Answer / sridhar

in web.xml .
we have to use the Class information in the configuration file.
class name:org.apache.struts.action.ActionServlet Class

Is This Answer Correct ?    0 Yes 2 No

How will the struts know which action class to call when you submit a form?..

Answer / sreenivasulu

configuration done web.xml

Is This Answer Correct ?    1 Yes 5 No

How will the struts know which action class to call when you submit a form?..

Answer / sreenivasulu

configuration done web.xml

Is This Answer Correct ?    2 Yes 8 No

Post New Answer

More Advanced Java Interview Questions

What is a session? Can you share a session object between different theads?

0 Answers  


Explain the difference between object state and behavior?

0 Answers  


What is ioc concept & explain it?

0 Answers  


Urgent Openings for Java and .NET ( India, Singapore, Australia, Japan)

2 Answers   Wipro,


difference between applicationserver and webserver

4 Answers   SolutionNET,


What are various types of class loaders used by jvm?

0 Answers  


What are the implicit objects?

2 Answers   HCL,


What’s jboss cache in short?

0 Answers  


Why doesn’t the focus feature on the tag work in every circumstance?

0 Answers  


What is a policy?

0 Answers  


What are the diff types of exception?

0 Answers  


How to pass parameters in RMI?

0 Answers  


Categories