diff --git a/NewFile1.jsp b/NewFile1.jsp index fb2dd42..c26c4ee 100644 --- a/NewFile1.jsp +++ b/NewFile1.jsp @@ -108,7 +108,7 @@ footer Contact Admin -
+ @@ -124,7 +124,7 @@ footer - + select * from article where subject="Physical Science"; @@ -186,6 +186,7 @@ select * from article where subject="Mathematics";
+Recommand diff --git a/Recommand.jsp b/Recommand.jsp new file mode 100644 index 0000000..2b207a2 --- /dev/null +++ b/Recommand.jsp @@ -0,0 +1,173 @@ +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> + + + + +Articles + + + + + + +
+ +
+ + + + +select * from article order by popularity DESC + + +
+ + + + + + + + + + + + + + + +
TitleAuthorTimePopularity
+
+ +
+2019 copyright©mjh.mohamed +
+ + + \ No newline at end of file diff --git a/Recommend.jsp b/Recommend.jsp new file mode 100644 index 0000000..2b207a2 --- /dev/null +++ b/Recommend.jsp @@ -0,0 +1,173 @@ +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> + + + + +Articles + + + + + + +
+ +
+ + + + +select * from article order by popularity DESC + + +
+ + + + + + + + + + + + + + + +
TitleAuthorTimePopularity
+
+ + + + + \ No newline at end of file