adplus-dvertising
frame-decoration

Question

Annotation which allows a controller’s field to be assigned using Spring Expression Language(SpEL)

a.

@Value

b.

@After

c.

@Default

d.

@None

Posted under Java Spring Framework

Answer: (a).@Value

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Annotation which allows a controller’s field to be assigned using Spring Expression Language(SpEL)

Similar Questions

Discover Related MCQs

Q. SpEL statements are recognizable.

Q. Tag, used to define a location in which to place errors in case a form.

Q. To validate Java beans in a web application using annotations.

Q. JSR-303 or bean validation can access beans through annotations.

Q. For validating beans Spring supports.

Q. JSR-303 can’t access java beans directly.

Q. Annotation which indicates a field cannot be a null.

Q. Annotation used to indicate a field has to have a minimum of 2 characters.

Q. Annotation which receives a value in the form regexp=”.+@.+\\.[a-z]+”.

Q. A field named validator is of type.

Q. Validator field is not assigned to any bean, but rather a factory class of the type.

Q. To hold any errors detected from validating the instance of beans.

Q. To use JSR-303 bean validation in a web application, dependencies to be added in maven.

Q. Spring doesn’t cope up with pdf and excel views.

Q. Spring MVC supports generating Excel files using which of the following libraries.

Q. The view classes for Excel view is/are:-

Q. Spring MVC supports generating PDF files using which of the following libraries.

Q. To publish a REST service with Spring.

Q. Publishing an application’s data as a REST service requires.

Q. Spring supports a series of mechanisms to generate a REST service payload.