countries = Stream.of("Nepal", "Bhutan", "China", "Japan", "America").sorted()
13 | .collect(Collectors.toList());
14 | return countries;
15 | }
16 |
17 | public ZonedDateTime getCurrentUtcDateTime() {
18 | ZoneId utcTimeZone = ZoneId.of("Etc/UTC");
19 | ZonedDateTime zonedDateTime = ZonedDateTime.now(utcTimeZone);
20 | return zonedDateTime;
21 | }
22 |
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/src/main/resources/log4j.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/src/main/resources/startbootstrap-simple-sidebar-gh-pages.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yrojha4ever/JavaStudSpringMVCWeb/570b1f3744967e3fa4da9279159c96631326655c/src/main/resources/startbootstrap-simple-sidebar-gh-pages.zip
--------------------------------------------------------------------------------
/src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml:
--------------------------------------------------------------------------------
1 |
2 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 | com.javastud.springmvcweb.model
49 |
50 |
51 |
52 |
53 | org.hibernate.dialect.MySQLDialect
54 | true
55 | update
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/src/main/webapp/WEB-INF/spring/root-context.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/src/main/webapp/WEB-INF/views/about.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | Loading the data just for you.
11 |
12 |
13 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/src/main/webapp/WEB-INF/views/angularSimpleApp.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | Hello {{yourName}}!
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/main/webapp/WEB-INF/views/currency.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
3 |
4 |
5 |
6 |
7 |
8 | Currency
9 |
10 |
11 |
12 |
13 | -
14 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/src/main/webapp/WEB-INF/views/fileUpload.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
3 |
4 |
5 |
6 | File Upload Example:
7 |
13 |
14 |
15 |
16 |
17 |
18 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/src/main/webapp/WEB-INF/views/footer.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2 | <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 |
17 |
23 |