Question: I am creating a calculator.This is my html for the calculator:
<http://pastebin.com/JQYbNBmZ>

and this is my css for the calculator:
<http://pastebin.com/DEMgqyYi>

I have used `width="100%"` for the buttons `CE`, `CA` and `0` to stretch 2 columns. However, if I use `height="100%"` for the buttons `+` and `=` to stretch 2 rows all the buttons actually get smaller. How would you go about that?

Answer: 
Try using  

`<context:annotation-config/>`  

instead of  

`<mvc:annotation-driven />`  

in your test-context.xml file.

`<mvc:annotation-driven/>` is a tag added in Spring 3.0 which does the following: 

1. Configures the Spring 3 Type ConversionService (alternative to
PropertyEditors)
2. Adds support for formatting Number fields with @NumberFormat
3. Adds support for formatting Date, Calendar, and Joda Time fields with @DateTimeFormat, if Joda Time is on the classpath
4. Adds support for validating @Controller inputs with @Valid, if a JSR-303 Provider is on the classpath
5. Adds support for support for reading and writing XML, if JAXB is on the classpath (HTTP message conversion with @RequestBody/@ResponseBody)
6. Adds support for reading and writing JSON, if Jackson is o n the classpath (along the same lines as #5)

`<context:annotation-config/>`  

Looks for annotations on beans in the same application context it is defined and declares support for all the general annotations like @Autowired, @Resource, @Required, @PostConstruct etc etc.
It looks to me like `articleDao` is not being set. If you want to use a Spring bean in the test then you can't instantiate the service in your test. Take this line out...

```
articleService = new ArticleService();

```