action servlet

What is Action servlet?and whats the use?
[48 byte] By [samp009a] at [2007-11-26 13:44:00]
# 1

hi :-)

your question is too general.

As for Struts:

ActionServlet provides the "controller" in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as "Model 2".

http://struts.apache.org/1.2.7/api/org/apache/struts/action/ActionServlet.html

regards,

jie2eea at 2007-7-8 1:17:43 > top of Java-index,Java Essentials,New To Java...
# 2
whats the return type of action servlet?
samp009a at 2007-7-8 1:17:43 > top of Java-index,Java Essentials,New To Java...
# 3

actually, ActionServlet passes the parameterized class to Action Form using the execute() method.

also The return type of the execute method is is "ActionForward" which is used by the Struts Framework to forward the request to the file as per the value of the returned ActionForward object

anymore details..?

Message was edited by:

loguKK

loguKKa at 2007-7-8 1:17:43 > top of Java-index,Java Essentials,New To Java...
# 4
> whats the return type of action servlet?ActionForward
jie2eea at 2007-7-8 1:17:43 > top of Java-index,Java Essentials,New To Java...
# 5
thanks..
samp009a at 2007-7-8 1:17:43 > top of Java-index,Java Essentials,New To Java...
# 6
Is it action servlet or Struts config file
sonyvgeorgea at 2007-7-8 1:17:43 > top of Java-index,Java Essentials,New To Java...