annotation « Database « Spring Q&A

1. Spring - Annotation Based Controller - RequestMapping based on query string

In Spring annotation-based controller, is it possible to map different query strings using RequestMapping to different methods. for example

public void writeMonday() {

public void writeTuesday() {

2. externalizing queries when using annotations?

externalizing queries when using annotations? I'd like to externalize my query strings so that they're in xml files instead of in my java code. My dao configuration is as follows, and ...