Hi All,
Its me again .. remember the "some help... " mail this friday! I studied 120 pages of JSP (from Web Development using Java Server Pages, Manning) since i had that book (i would finish it soon), and also read a couple of tutorials on Struts. Heres what I understand .. plz correct me if I am wrong, and also plz ans my questions: Following are the main components that build the Struts framework: - struts-config.xml : where we specify the action mappings (local or global forwards that are defined by the Action class). [Q# 1: what exactly do we need to code in this file] - ActionForm Beans: these are specific to each form and mainly have getters and setters, along with validation methods handled by ActionErrors. [Q# 2: are there any other methods that might be performed in the form beans] [Q# 3: what exactly is the ActionErrors object?] - ApplicationResources.properties file: defined in the web.xml file, and is used for displaying error messages etc.. - Action classes: the main method here is the perform( ). [Q# 4: I didnt understand what exactly is done by these classes, since the example I referred to showed some real complex code.. I got lost here ..] - JSP pages: these would have code using the Struts tag library to access html elements such as forms etc [Q# 5: would i have to learn the syntax of this library before starting .. I am not much conversant with custom taglibs in JSP] - Action Servlet: the main controller servlet - web.xml [Q# 6: do i have to make any changes in this ?] As you might have noticed .. I kind of have the gist of these pieces, but cant put them up together.... to summarize all my Questions, I would put it this way.. ** 1 ** what are all the components in the Struts framework (apart from the ones mentioned above .. anything missing ??) ** 2 ** in which of these components do we need to make changes (actual coding) and how complex is it ? I mean, if you are separating out Java content from the presentation layer, and restricting it to EJBs and stuff, how much of actual Java code would be written in a Struts application (especially in the Action classes) ** 3 ** apart from the configuration and deploying issues how complex is Struts ? Could anybody plz ans my questions .. especially Q# 2 and Q# 4. Thankyou for your time .. and plz note that I am very new to the Struts environment .. I mite (rather must) have asked all silly questions .. :-) ~ Reshma --------------------------------- Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax

