File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 33113

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 agree. Here's the link:
subject: Struts
It's not a secret anymore!