基于SSH框架的考试系统设计与实现
entAction类的实现代码:@Controller("studentAction") @Scope("prototype")public class StudentAction extends ActionSupport {@Resourceprivate StudentService studentService;@Resourceprivate ClassService classService;…}其中,通过注释@Controller指定StudentAction类为控制类,通过注释@Resource对bean进行装配,实现属性的自动注入。1.2 Spring框架实现Sp
<<上一页 下一页>>
广州市越秀区图书馆版权所有。
联系电话:020-87673002
本站访问人数: