File tree 13 files changed +203
-0
lines changed
Users/jdamerow/Software/DigInG/tallify/target/m2e-wtp/web-resources
java/edu/asu/diging/tallify/web
13 files changed +203
-0
lines changed Original file line number Diff line number Diff line change
1
+ /target /
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <projectDescription >
3
+ <name >tallify</name >
4
+ <comment ></comment >
5
+ <projects >
6
+ </projects >
7
+ <buildSpec >
8
+ <buildCommand >
9
+ <name >org.eclipse.wst.jsdt.core.javascriptValidator</name >
10
+ <arguments >
11
+ </arguments >
12
+ </buildCommand >
13
+ <buildCommand >
14
+ <name >org.eclipse.jdt.core.javabuilder</name >
15
+ <arguments >
16
+ </arguments >
17
+ </buildCommand >
18
+ <buildCommand >
19
+ <name >org.eclipse.wst.common.project.facet.core.builder</name >
20
+ <arguments >
21
+ </arguments >
22
+ </buildCommand >
23
+ <buildCommand >
24
+ <name >org.eclipse.m2e.core.maven2Builder</name >
25
+ <arguments >
26
+ </arguments >
27
+ </buildCommand >
28
+ <buildCommand >
29
+ <name >org.eclipse.wst.validation.validationbuilder</name >
30
+ <arguments >
31
+ </arguments >
32
+ </buildCommand >
33
+ </buildSpec >
34
+ <natures >
35
+ <nature >org.eclipse.jem.workbench.JavaEMFNature</nature >
36
+ <nature >org.eclipse.wst.common.modulecore.ModuleCoreNature</nature >
37
+ <nature >org.eclipse.jdt.core.javanature</nature >
38
+ <nature >org.eclipse.m2e.core.maven2Nature</nature >
39
+ <nature >org.eclipse.wst.common.project.facet.core.nature</nature >
40
+ <nature >org.eclipse.wst.jsdt.core.jsNature</nature >
41
+ </natures >
42
+ </projectDescription >
Original file line number Diff line number Diff line change
1
+ eclipse.preferences.version =1
2
+ org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode =enabled
3
+ org.eclipse.jdt.core.compiler.codegen.targetPlatform =1.5
4
+ org.eclipse.jdt.core.compiler.compliance =1.5
5
+ org.eclipse.jdt.core.compiler.problem.assertIdentifier =error
6
+ org.eclipse.jdt.core.compiler.problem.enumIdentifier =error
7
+ org.eclipse.jdt.core.compiler.problem.forbiddenReference =warning
8
+ org.eclipse.jdt.core.compiler.source =1.5
Original file line number Diff line number Diff line change
1
+ activeProfiles =
2
+ eclipse.preferences.version =1
3
+ resolveWorkspaceProjects =true
4
+ version =1
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?><project-modules id =" moduleCoreId" project-version =" 1.5.0" >
2
+ <wb-module deploy-name =" tallify" >
3
+ <wb-resource deploy-path =" /" source-path =" /target/m2e-wtp/web-resources" />
4
+ <wb-resource deploy-path =" /" source-path =" /src/main/webapp" tag =" defaultRootSource" />
5
+ <wb-resource deploy-path =" /WEB-INF/classes" source-path =" /src/main/java" />
6
+ <wb-resource deploy-path =" /WEB-INF/classes" source-path =" /src/main/resources" />
7
+ <property name =" context-root" value =" tallify" />
8
+ <property name =" java-output-path" value =" /tallify/target/classes" />
9
+ </wb-module >
10
+ </project-modules >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <faceted-project >
3
+ <fixed facet =" wst.jsdt.web" />
4
+ <installed facet =" java" version =" 1.5" />
5
+ <installed facet =" jst.web" version =" 2.5" />
6
+ <installed facet =" wst.jsdt.web" version =" 1.0" />
7
+ </faceted-project >
Original file line number Diff line number Diff line change
1
+ /META-INF /
Original file line number Diff line number Diff line change
1
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2
+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
+ <modelVersion >4.0.0</modelVersion >
4
+ <groupId >edu.asu.diging</groupId >
5
+ <artifactId >tallify</artifactId >
6
+ <version >0.0.1-SNAPSHOT</version >
7
+ <packaging >war</packaging >
8
+ <name >Tallify</name >
9
+
10
+ <dependencies >
11
+ <!-- Spring dependencies -->
12
+ <dependency >
13
+ <groupId >org.springframework</groupId >
14
+ <artifactId >spring-web</artifactId >
15
+ <version >4.2.1.RELEASE</version >
16
+ </dependency >
17
+ <dependency >
18
+ <groupId >org.springframework</groupId >
19
+ <artifactId >spring-webmvc</artifactId >
20
+ <version >4.2.1.RELEASE</version >
21
+ </dependency >
22
+ <dependency >
23
+ <groupId >org.springframework</groupId >
24
+ <artifactId >spring-core</artifactId >
25
+ <version >4.2.1.RELEASE</version >
26
+ </dependency >
27
+
28
+ <dependency >
29
+ <groupId >javax.servlet</groupId >
30
+ <artifactId >jstl</artifactId >
31
+ <version >1.2</version >
32
+ </dependency >
33
+
34
+ </dependencies >
35
+ </project >
Original file line number Diff line number Diff line change
1
+ package edu .asu .diging .tallify .web ;
2
+
3
+ import java .util .Date ;
4
+
5
+ import org .springframework .stereotype .Controller ;
6
+ import org .springframework .ui .Model ;
7
+ import org .springframework .web .bind .annotation .RequestMapping ;
8
+ import org .springframework .web .bind .annotation .RequestMethod ;
9
+
10
+ @ Controller
11
+ public class HomeController {
12
+
13
+ @ RequestMapping (value ="/" , method =RequestMethod .GET )
14
+ public String home (Model model ) {
15
+ model .addAttribute ("date" , new Date ());
16
+ return "home" ;
17
+ }
18
+
19
+ }
Original file line number Diff line number Diff line change
1
+ <beans xmlns =" http://www.springframework.org/schema/beans"
2
+ xmlns : context =" http://www.springframework.org/schema/context"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation ="
5
+ http://www.springframework.org/schema/beans
6
+ http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
7
+ http://www.springframework.org/schema/context
8
+ http://www.springframework.org/schema/context/spring-context-3.0.xsd" >
9
+
10
+
11
+ </beans >
Original file line number Diff line number Diff line change
1
+ <beans xmlns =" http://www.springframework.org/schema/beans"
2
+ xmlns : context =" http://www.springframework.org/schema/context"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xmlns : mvc =" http://www.springframework.org/schema/mvc"
5
+ xsi : schemaLocation ="
6
+ http://www.springframework.org/schema/beans
7
+ http://www.springframework.org/schema/beans/spring-beans.xsd
8
+ http://www.springframework.org/schema/mvc
9
+ http://www.springframework.org/schema/mvc/spring-mvc.xsd
10
+ http://www.springframework.org/schema/context
11
+ http://www.springframework.org/schema/context/spring-context.xsd" >
12
+
13
+ <context : component-scan base-package =" edu.asu.diging.tallify" />
14
+
15
+ <bean
16
+ class =" org.springframework.web.servlet.view.InternalResourceViewResolver" >
17
+ <property name =" prefix" >
18
+ <value >/WEB-INF/views/</value >
19
+ </property >
20
+ <property name =" suffix" >
21
+ <value >.jsp</value >
22
+ </property >
23
+ </bean >
24
+ </beans >
Original file line number Diff line number Diff line change
1
+ <%@ taglib prefix =" c" uri =" http://java.sun.com/jsp/jstl/core" %>
2
+ <%@ page isELIgnored="false" %>
3
+
4
+ <h1 >Welcome!</h1 >
5
+
6
+ <p >Today is ${ date } .<p >
Original file line number Diff line number Diff line change
1
+ <web-app id =" WebApp_ID" version =" 2.4"
2
+ xmlns =" http://java.sun.com/xml/ns/javaee"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://java.sun.com/xml/ns/j2ee
5
+ http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >
6
+ <display-name >Archetype Created Web Application</display-name >
7
+
8
+ <servlet >
9
+ <servlet-name >dispatcher</servlet-name >
10
+ <servlet-class >
11
+ org.springframework.web.servlet.DispatcherServlet
12
+ </servlet-class >
13
+ <load-on-startup >1</load-on-startup >
14
+ <init-param >
15
+ <param-name >contextConfigLocation</param-name >
16
+ <param-value >/WEB-INF/spring/servlet-context.xml</param-value >
17
+ </init-param >
18
+ </servlet >
19
+
20
+ <servlet-mapping >
21
+ <servlet-name >dispatcher</servlet-name >
22
+ <url-pattern >/</url-pattern >
23
+ </servlet-mapping >
24
+
25
+ <context-param >
26
+ <param-name >contextConfigLocation</param-name >
27
+ <param-value >/WEB-INF/spring/root-context.xml</param-value >
28
+ </context-param >
29
+
30
+ <listener >
31
+ <listener-class >
32
+ org.springframework.web.context.ContextLoaderListener
33
+ </listener-class >
34
+ </listener >
35
+ </web-app >
You can’t perform that action at this time.
0 commit comments