This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Strut state full or stateless Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Strut state full or stateless" Watch "Strut state full or stateless" New topic
Author

Strut state full or stateless

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 300
Hi,
Is Strut state full or stateless.


Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Are you asking if actions are thread-safe? Which version of Struts are you asking about?
pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 300
I asking about all the version of strut i.e strut1.1/1.2 and strut2.0
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Struts 1 creates an action-per-mapping, so they're similar to servlets. Struts 2 creates an action-per-request.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Strut state full or stateless
 
Similar Threads
What is meant by state ful object and stateless object?
HttpSession in JSP
EJB question
dynamic parameter names
What is transaction state of stateless session bean?