java 1 Answer(s) 6 years and a month ago
Posted in : Struts
What is Java as a programming language? and why should i learn java over any other oop's?
March 1, 2008 at 6:30 PM
ActionServlet provides the "controller" in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as "Model 2". This nomenclature originated with a description in the JavaServerPages Specification, version 0.92, and has persisted ever since (in the absence of a better name).
Generally, a "Model 2" application is architected as follows:
* The user interface will generally be created with server pages, which will not themselves contain any business logic. These pages represent the "view" component of an MVC architecture. * Forms and hyperlinks in the user interface that require business logic to be executed will be submitted to a request URI that is mapped to this servlet. * There can be one instance of this servlet class, which receives and processes all requests that change the state of a user's interaction with the application. The servlet delegates the handling of a request to a RequestProcessor object. This component represents the "controller" component of an MVC architecture. * The RequestProcessor selects and invokes an Action class to perform the requested business logic, or delegates the response to another resource. * The Action classes can manipulate the state of the application's interaction with the user, typically by creating or modifying JavaBeans that are stored as request or session attributes (depending on how long they need to be available). Such JavaBeans represent the "model" component of an MVC architecture. * Instead of producing the next page of the user interface directly, Action classes generally return an ActionForward to indicate which resource should handle the response. If the Action does not return null, the RequestProcessor forwards or redirects to the specified resource (by utilizing RequestDispatcher.forward or Response.sendRedirect) so as to produce the next page of the user interface.
java why multiple inheritance is not possible in java
java hi im new to java plz suggest me how to master java....firstname.lastname@example.org
i want a field for date picker using java/java script
java create java program for delete and update the details,without using database, just a normal java program
java why methods in java raise exceptions
Have a look at the following link:
java java code to search the nodes how to write the java code to search the nodes using routers
java how to edit text document by using java
then how to edit starting and ending of text document by using java
java different between java & core java
java java pattern code for a given words java pattern code for a given words pattern
java how can use sleep in java
which book learn of java language
java java How to set java Policy for applet using jdk 6
java java online telephone directory i need coding for online telephone directory..by using java....pls help me
java different between java & core java
java java swing
Swing is a principal GUI toolkit for the Java programming language. It is a part of the JFC (Java Foundation Classes), which is an API for providing a graphical user interface for Java programs
java how to prepare the java
If you want to learn how to install java, creating and running a java program then go through the following links:
java what is the need of java if java is not there what will happen... work unless you have Java installed, and more are created every day. Java... to scientific supercomputers, cell phones to the Internet, Java is everywhere!
java 1.what type of inheritance supported in java.
2.what is the advantage of java over C++.
Java supports following... inheritance
Advantages of Java over C++:
1)Java is pure object oriented
java how to run applets in java
In Java you can use Applet viewer to run the applet. Read more at Java Applet Viewer tutorial page.