This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts " Watch "Struts " New topic


Yayathi Jayaraman

Joined: Aug 10, 2012
Posts: 7
1.What is Servlet? How its works in Struts application?can anyone explain me?
2. Use of serialization? difficult to understand whats the use?
3. Web.XML and struts.config.XML differences between these and how it works?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32507

These questions are a lot like "how does my app work". You are going to need to get a book to learn the basics. Or read the Struts tutorial in detail.

As a teaser:
1) A servlet is provided by Struts as the central dispatcher.
2) Serialization stores forms to disk if the session gets too big
3) web.xml tell your server how to find struts. The struts config tells struts where to find your actions.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Struts
It's not a secret anymore!