Forums Register Login

Thread question

+Pie Number of slices to send: Send
we have a servlet,which acts as a controller,and forward request to action depending on action name(command pattern).
action class we instantiate at the start of the server,and store in hashmap.
My question is if multiple reuest comes to same action at the same time what will happen?
it will go on queue and request executed one by one or it will execute parallaly.
Thanks in advance.
+Pie Number of slices to send: Send
Request execution will proceed concurrently in this case(assuming your servlet doesn;t implement the SingleThreadModel interface)
crispy bacon. crispy tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 571 times.
Similar Threads
Action class handles Multiple REquest concurrently
Getting previous action name
rrequest execution question
Alternative URL Pattern for Struts
problem with struts
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:59:29.