Steve A Drake wrote:
On Mon, 19 Jun 2000, Shiraz Wasim Zaidi wrote:
The action's servlet can then handle the request, and return a HTTP response
to the controller, which the controller can pass back to the client.
---COMMENT
I think you have a wrong understanding that action
an Action class is not a servlet but it has a simliar lifecycle to a
servlet
in that only one Action object is instantiated.
Not always true. If your servlet implements SingleThreadModel interface then
container creates a pool of servlet instances.
And, looking at the processActionForm()
in your
comments or samples.
-- Ted Husted.
What's Struts?
Struts uses a switchboard, or controller, servlet to route requests to other Struts
servlets. When initialized, the controller parses a configuration resource file. The
configuration resource defines (among other things
3 matches
Mail list logo