Struts

Struts Interview Questions And Answers


Totel:130 Click: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Struts Interview Questions And Answers

Page 1

Yes. 

Struts is committed to supporting industry standards. Struts acts as an integrator of Java technologies so that they can be used in the "real world".

The <html:javascript> tag to allow front-end validation based on the xml in validation.xml. 

For example the code:

<html:javascript formName="logonForm" dynamicJavascript="true" staticJavascript="true" />

 generates the client side java script for the form logonForm as defined in the validation.xml file. The <html:javascript> when added in the jsp file generates the client site validation script.

The steps which are to be carried for validating client side address they are: 

  1. Validator plug in should be enabled to the system to start the process of validation.
  2. A message resource should be created which can display error message to the client.
  3. Validation rules should be defined by the developer for validation.
  4. Relevant tags should be created to generate Java script code.
  5. The whole process of validation should be tested.

The LookupDispatchAction is an abstract Action that dispatches to the subclass mapped execute method. This is useful in cases where an HTML form has multiple submit buttons with the same name. The button name is specified by the parameter property of the corresponding ActionMapping.

Message Resources Definitions file are simple .properties files and these files contains the messages that can be used in the struts project. Message Resources definitions files can be added to the struts-config.xml file using the <message-resources />  tag.

Example:
<message-resources parameter="MessageResources" />


Goto Page:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Struts Objective Questions And Answers

Struts Objective Questions And Answers

Struts Interview Questions And Answers

Struts Subjective Questions And Answers


R4R,Struts Objective fresher and experienced, Struts Subjective fresher and experienced ,Struts Interview Questions And Answers,Struts fresher and experienced,Struts Interview fresher and experienced ,Struts Questions fresher and experienced,Struts Answers fresher and experienced