FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaWebCourse-BookStoreSampleApp/WebContent/BookList.jsp at master · codeschool/JavaWebCourse-BookStoreSampleApp · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Jul 15, 2021. It is now read-only.
codeschool
/
JavaWebCourse-BookStoreSampleApp
Public archive
Notifications
You must be signed in to change notification settings
Fork
3
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaWebCourse-BookStoreSampleApp
/
WebContent
/
BookList.jsp
Copy path
More file actions
More file actions
Latest commit
History
History
History
43 lines (41 loc) · 1.41 KB
Breadcrumbs
JavaWebCourse-BookStoreSampleApp
/
WebContent
/
BookList.jsp
Copy path
File metadata and controls
43 lines (41 loc) · 1.41 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
<%@
page
language
=
"
java
"
contentType
=
"
text/html; charset=UTF-8
"
pageEncoding
=
"
UTF-8
"
%>
<%@
page
import
=
"
java.util.ArrayList, com.pluralsight.Book
"
%>
<%@
taglib
uri = "http://java.sun.com/jsp/jstl/core" prefix = "c" %>
<%@
taglib
prefix = "fmt" uri = "http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"
>
<
html
>
<
head
>
<
title
>Book Store</
title
>
<
link
rel
=
"
stylesheet
"
type
=
"
text/css
"
href
=
"
${
pageContext
.
request
.
contextPath
}
/css/style.css
"
>
</
head
>
<%
ArrayList<
Book
>
books
=
(
ArrayList<
Book
>
)request
.
getAttribute(
"
books
"
);
%
>
<
body
>
<
div
class
=
"
container
"
>
<
div
class
=
"
links
"
>
<
h1
><
a
href
=
"
list
"
>Book Store</
a
></
h1
>
<
h2
><
a
href
=
"
new
"
>Add New Book</
a
></
h2
>
</
div
>
<
div
class
=
"
booktable
"
>
<
table
border
=
"
1
"
cellpadding
=
"
5
"
>
<
caption
><
h2
>List of Books</
h2
></
caption
>
<
tr
>
<
th
>Title</
th
>
<
th
>Author</
th
>
<
th
>Price</
th
>
</
tr
>
<
c:forEach
items
=
"
${
books
}
"
var
=
"
item
"
>
<
tr
>
<
td
>
${
item
.
getTitle()
}
</
td
>
<
td
>
${
item
.
getAuthor()
}
</
td
>
<
td
> <
fmt:formatNumber
value
=
"
${
item
.
getPrice()
}
"
type
=
"
currency
"
/> </
td
>
</
tr
>
</
c:forEach
>
</
table
>
</
div
>
</
div
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL