Skip to content

Commit 266761c

Browse files
committed
добвалены скриншоты
1 parent 1c9048f commit 266761c

File tree

5 files changed

+17
-6
lines changed

5 files changed

+17
-6
lines changed

.idea/artifacts/lab3_1_war.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/artifacts/lab3_1_war_exploded.xml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lab3.1.iml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@
2323
<orderEntry type="library" exported="" name="PrimeFaces-6.1" level="project" />
2424
<orderEntry type="library" scope="PROVIDED" name="GlassFish 3.1.2.1-SNAPSHOT" level="application_server_libraries" />
2525
<orderEntry type="library" name="postgresql-42.2.5" level="project" />
26+
<orderEntry type="library" name="javax.faces-2.4.0" level="application" />
27+
<orderEntry type="library" name="primefaces-6.1-sources" level="application" />
28+
<orderEntry type="library" name="primefaces-6.1" level="application" />
2629
</component>
2730
</module>

screenshots/task.png

226 KB
Loading

src/beans/Results.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
@ApplicationScoped
1919
public class Results {
2020
private final Connection connection;
21-
// private static final String DB_URL = "jdbc:postgresql://localhost:5432/postgres";
22-
// private static final String USER = "ivan";
23-
// private static final String PASS = "ivan";
24-
private static final String DB_URL = "jdbc:postgresql://pg:5432/studs";
25-
private static final String USER = "s263916";
26-
private static final String PASS = "";
21+
private static final String DB_URL = "jdbc:postgresql://localhost:5432/postgres";
22+
private static final String USER = "ivan";
23+
private static final String PASS = "ivan";
24+
// private static final String DB_URL = "jdbc:postgresql://pg:5432/studs";
25+
// private static final String USER = "s263916";
26+
// private static final String PASS = "";
2727
private static final String TABLE_NAME = "results";
2828
private final Logger logger;
2929

0 commit comments

Comments
 (0)