UrbanPro

Learn Java Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

1.What is Model Driven Interceptors is used for? 2.what is the purpose of using Action support??

Asked by Last Modified  

22 Answers

Learn Java

Follow 0
Answer

Please enter your answer

Java Trainer

Using ActionSupport class, we can implement Custom validation which validates at the server-side. We can write server side validation logic in validate() method.
Comments

1. The modelDriven interceptor makes other model object as the default object of valuestack. Bydefault, action object is the default object of valuestack. To use the modelDriven interceptor, you need to implement ModelDriven interface in your action class and override its method getModel(). It...
read more
1. The modelDriven interceptor makes other model object as the default object of valuestack. Bydefault, action object is the default object of valuestack. To use the modelDriven interceptor, you need to implement ModelDriven interface in your action class and override its method getModel(). It is found in the default stack bydefault. So you don't need to specify it explicitely. 2.It is a convenient class that implements many interfaces such as Action, Validateable, ValidationAware, TextProvider, LocaleProvider and Serializable . read less
Comments

ModelDriven actions and adds the action's model on to the value stack.
Comments

Java Trainer

An interceptor that enables scoped model-driven actions. This interceptor only activates on actions that implement the ScopedModelDriven interface. If detected, it will retrieve the model class from the configured scope, then provide it to the Action.
Comments

Software Professional Trainer with 26+ years of Experience in Software Design and Development

Model Driven Interceptor is used to inject the model object into Action ie Action's Value Stack so that Action can be able to use it.
Comments

Tutor

ModelDriven Interceptor is used to inject the model object into Action ie Action's Value Stack so that Action can be able to use it. Struts 2 provides the flexibility of defining the attributes and their setter/getter methods in Action class itself and outside the Action class like java bean. To set...
read more
ModelDriven Interceptor is used to inject the model object into Action ie Action's Value Stack so that Action can be able to use it. Struts 2 provides the flexibility of defining the attributes and their setter/getter methods in Action class itself and outside the Action class like java bean. To set the attributes to the field of some other bean object, Action class must implement ModelDriven interface and Model-Driven Interceptor must be applied to that Action class. read less
Comments

Computer

Main use of web services is re usability of peace of code or application in any platform, means if you develop any application in any language like java C# on any OS you can use that application when you expose it as webservice. Web services enable to quickly integrate applications across multiple...
read more
Main use of web services is re usability of peace of code or application in any platform, means if you develop any application in any language like java C# on any OS you can use that application when you expose it as webservice. Web services enable to quickly integrate applications across multiple platforms, systems and even across businesses. Emerging web services standards such as SOAP, WSDL and UDDI will enable system-to-system communication that is easier and cheaper than ever before. The basic Web services platform is XML + HTTP. All the standard Web Services works using following components SOAP (Simple Object Access Protocol) UDDI (Universal Description, Discovery and Integration) WSDL (Web Services Description Language) read less
Comments

Bank PO Teacher

Hi, U can get the related information of your question from the following link: http://www.javatpoint.com/struts-2-modeldriven-interceptor-example This should give u valuable information.
Comments

Computer

If an Action implements the ModelDriven interface, extra ability to transfer the form data into the object automatically. Model Driven view use in MVC Model class contains the business logic i.e application logic. we will give this class means we will configure in xml files .frame work will run...
read more
If an Action implements the ModelDriven interface, extra ability to transfer the form data into the object automatically. Model Driven view use in MVC Model class contains the business logic i.e application logic. we will give this class means we will configure in xml files .frame work will run our app logic instead of creating model objects by developer FW creates . application develop ment makes faster. check the in any example in struts. It is a convenient class that implements many interfaces such as Action, Validateable, ValidationAware, TextProvider, LocaleProvider and Serializable . So it is mostly used instead of Action. read less
Comments

Master

Action Support class provides ready to use functionality of validation framework.
Comments

View 20 more Answers

Related Questions

Which book is good for groovy and grails
Beginning Groovy and Grails: From Novice to Professional by Jim Shingler (Author), Joseph Faisal Nusairat (Author), Christopher M Judd (Author)....
Sumit S.
If a class contains only a private constructor and no other constructor, is it possible to create object of that class? If yes how?
Yes, It is possible. But, Object can be created only with in that class (either in any method or block).
Shabbir
What is the use of deployment descriptor?
A deployment descriptor describes how a component, module or application should be deployed. A web application’s deployment descriptor describes the classes, resources and configuration of the application...
Monisha
What are the best websites to learn java as well as get a certificate from them?
To learn basic java i suggest javatpoint is good for knowledge as well as concept but for certification refer book
Abirami
0 0
7
Why using Overriding in Java ?
There was a student who always pronounces "University" as "Univerkity". His teacher got angry and called the parents and asked to know the reason. Teacher got shocked as they are pronouncing "Capacity"...
Shivendra

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Java : Compile-time Versus Runtime optimization
While designing and development, one should think in terms of compile-time and run-time.It helps in understanding language basics in a better way.Let's understand this with a question below : What...
S

JAVA - Object Cloning
JAVA - Object Cloning Is the way of creating the same copy of object without calling the class constructor. It means we can make any class object multiple times without calling its default constructor....

How to create Rest web services in Java
Web services are web application components that lets two different applications to communicate over the network.Let if an application which in written java provides web services can be communicated through...

Why Should We Learn Java Language?
Most of starters has confusion today that which of the programming language should be chosen to work on. It totally depends upon your need. As per my opinion, if you want to grow your career in IT industry...

CONDITIONAL STATEMENT - IF ELSE
1. IF condition only if is true conditon is required. if(condition){//statements} 2. IF-ELSE condition 1. to check whether the condition will be true or false.syntax of if-else2. only 1 conditionif(condition){//statements}else{//statements} 3....

Recommended Articles

Designed in a flexible and user-friendly demeanor, Java is the most commonly used programming language for the creation of web applications and platform. It allows developers to “write once, run anywhere” (WORA). It is general-purpose, a high-level programming language developed by Sun Microsystem. Initially known as an...

Read full article >

Java is the most famous programming language till date. 20 years is a big time for any programming language to survive and gain strength. Java has been proved to be one of the most reliable programming languages for networked computers. source:techcentral.com Java was developed to pertain over the Internet. Over...

Read full article >

Before we start on the importance of learning JavaScript, let’s start with a short introduction on the topic. JavaScript is the most popular programming language in the world, precisely it is the language - for Computers, the Web, Servers, Smart Phone, Laptops, Mobiles, Tablets and more. And if you are a beginner or planning...

Read full article >

Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”.  Right from its first implication as java 1.0...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for Java Training Classes?

The best tutors for Java Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Java Training with the Best Tutors

The best Tutors for Java Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more