Spring 3 Web MVC入门 - 设置一切 [英] Getting started with Spring 3 Web MVC - Setting everything up

查看:103
本文介绍了Spring 3 Web MVC入门 - 设置一切的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试开始使用JAVA / Eclipse / Spring MVC,但似乎无法找到设置所有内容并创建最简单的概念验证的傻瓜或循序渐进指南申请。

I'm trying to get started with JAVA/Eclipse/Spring MVC but can't seem to find a "dummies" or "step-by-step" guide for setting everything up and creating the simplest proof-of-concept application.

我发现 http://static.springsource.org/docs/...-step-by-step/ 但是Spring 2.5和Spring 3之间似乎存在差异,所以我正在为Spring寻找一些东西3.

I found http://static.springsource.org/docs/...-step-by-step/ but there seem to be differences between Spring 2.5 and Spring 3 so i'm looking for something for Spring 3.

此外,Spring 2.5的教程侧重于构建应用程序使用Ant - 这肯定会用于发布但是在Eclipse中工作时我想要设置启动项目,以便我可以使用断点/调试,这根本没有涉及。

Also, the tutorial for Spring 2.5 focuses on building the application usign Ant - This i will certainly be doing for releasing but when working within Eclipse i want to have set up the project so that i can use breakpoints/debugging and this is not covered at all.

我已经下载了Eclipse,Tomcat和Spring 3 Framework,但这是关于它的在下载的Spring Framework文档中,它声明:

I've downloaded Eclipse, Tomcat and the Spring 3 Framework but that's about it and within the downloaded Spring Framework documentation it states:


2.3新入门tutoria l

2.3 New getting started tutorial

现在有一个新的入门教程
用于开发基本的Spring 3.0 MVC
Web应用程序。本教程是
单独的文档,可以在
Spring文档页面找到

There is now a new getting started tutorial for developing a basic Spring 3.0 MVC web application. This tutorial is a separate document that can be found at the Spring Documentation page

但是,我似乎无法在链接页面上找到这样的教程。目前我的主要问题是,许多人试图开始使用Spring的情况似乎就是我似乎无法完成所有设置。

However, i can't seem to find such a tutorial on the linked page. My main problem at the moment, as seems to be the case for many people trying to get started with Spring, is that i can't seem to get everything set up.

我有一份 Expert Spring MVC和Web Flow 的副本,我也是找到本教程,但我不知道他们是否设置了描述仍然相关,是否允许调试。

I've got a copy of Expert Spring MVC and Web Flow and i've also found this tutorial but i don't know if the setups they describe are still relevant and whether they will allow debugging.

任何人都可以给出一些指示吗?

Can anyone please give some direction?

谢谢

推荐答案

获取 mvc-basic petcare 示例应用rel =noreferrer> Spring Samples SVN存储库。这些样本已更新至Spring 3.0,可直接导入和放大。可以使用 SpringSource工具套件运行。

Get the mvc-basic or the petcare sample apps from the Spring Samples SVN repository. These samples have been updated to Spring 3.0 and are directly importable & runnable with SpringSource Tool Suite.

这篇关于Spring 3 Web MVC入门 - 设置一切的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆