以下是一个简单的SSM(Spring + SpringMVC + MyBatis)框架中的Controller和JSP页面的实例。
1. Controller类(使用Spring注解)

```java
package com.example.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class DemoController {
@GetMapping("




