Print

Print


Author: [log in to unmask]
Date: Fri Aug 28 13:08:27 2015
New Revision: 3445

Log:
Add welcome page to run web app.

Added:
    java/trunk/run-webapp/src/main/webapp/welcome.jsp
Modified:
    java/trunk/run-webapp/src/main/webapp/WEB-INF/web.xml

Modified: java/trunk/run-webapp/src/main/webapp/WEB-INF/web.xml
 =============================================================================
--- java/trunk/run-webapp/src/main/webapp/WEB-INF/web.xml	(original)
+++ java/trunk/run-webapp/src/main/webapp/WEB-INF/web.xml	Fri Aug 28 13:08:27 2015
@@ -66,10 +66,8 @@
         <url-pattern>/scalers</url-pattern>
     </servlet-mapping>
 
-<!--     
     <welcome-file-list>
-        <welcome-file>path.jsp</welcome-file>
+        <welcome-file>welcome.jsp</welcome-file>
     </welcome-file-list>
- -->    
-               
+                   
 </web-app>     

Added: java/trunk/run-webapp/src/main/webapp/welcome.jsp
 =============================================================================
--- java/trunk/run-webapp/src/main/webapp/welcome.jsp	(added)
+++ java/trunk/run-webapp/src/main/webapp/welcome.jsp	Fri Aug 28 13:08:27 2015
@@ -0,0 +1,15 @@
+<%@ page contentType="text/html" %>
+<!DOCTYPE html>
+<html>
+
+<!-- application stylesheet -->
+<link rel="stylesheet" href="css/style.css" />
+
+<h1>HPS Run Web App</h1>
+
+<p>
+<a href="<%=request.getContextPath()%>/runs">Run Table</a>
+</p>
+
+</body>
+</html>