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 is best to build web applications: PHP, Python, or Ruby? Why?
I have used almost all of the three language in my web working experience.PHP:It may be not that cool and I think it doesn't rely too much on the framework. Yes, PHP is just a language, but it is the only...
Sunil
0 0
7
What is JavaBean?
All javabeans are pojos ,But not all pojos are not javabeans.
Ankit
0 0
6
How do I learn Java? From book or internet or a coaching?
It is good to learn Java from Coaching where you will get more exposure in learning at faster pace.
Suresh
0 0
7

Sir how is Java a pure object oriented programming language?

 

Java is not a purely object-oriented programming language. Lots of people say’s its object-oriented language but it is not true because Java supports primitive data type and does not handle multiple inheritances.
Ram
What are the necessary qualifications needed for a Java tutor?
1. Knowledge 2. Good education background 3. Experience in teaching 4. Applications and projects that he has himself worked on 5. The zeal to help students
Darshan
0 0
7

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

Ask a Question

Related Lessons

What Is Java? Explain The History Of Java
i. Ovierview: Java programming language was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems' Java platform (Java...

COMPILATION AND INTERPRETATION
Compilation and Interpertation Process javac (compiler) java(interpreter)high level code - > compile - > bytecode - > interperted - > machine code Bytecode...

Java Advantages
In this video, learn about Java and its advantages. Also, check out the difference between Java and C++, Java development kit, Java Run Time Environment (JRE) with a proper demonstration program for better clarity.

Software Development Training In Jaipur
Satyam Web Solution provides website designing &development and software designing &development training in Jaipur for various stream’s students. MCA 6 month Industrial Training/Internship B....

Constructor in Java
A constructor is a particular type of method that is used to initialise the object. The constructor is invoked at the time of object creation. It constructs the values, i.e. provides data for the object...

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