I have used struts a little, I can try to give you at least a starting
place.
Basically, you have an HTML form (you can use JSP or something else to
generate) that has an action. The action is defined in the struts
config file. This definition has a standard pattern for the webserver
to look for and the class that will execute the action. There is also a
place to define an ActionFormBean. Somewhere (whether it is actual
struts or the webserver I'm not sure), the ActionFormBean is populated
with the data from the HTML form (when you submit). This bean is then
passed on to the the Action class that you defined in the config for
processing. From this action the data can be processed and then an
ActionForward can be created to tell the browser where to go next.
It really isn't a hard technology, it can just get confusing sometimes
as to who does what when. I hope this at least gets you started. If
you have more questions I'd be happy to answer them.
Chris
PS. Struts also offers a way to do validation, but I haven't really
used it.
Neerja Tyagi wrote:
Can any body explain how struts functions