diff --git a/jsp/startup.jsp b/jsp/startup.jsp new file mode 100644 index 0000000..7519ee2 --- /dev/null +++ b/jsp/startup.jsp @@ -0,0 +1,415 @@ +<%@ page import = "java.io.*,java.util.*" %> +<%@ page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %> + + + + + + + + + + + + + + + + + + startup.jsp + +<% String titleId = request.getParameter("titleId"); %> +<% String initPage = request.getParameter("initPage"); %> + + <% + // NOTE: skips registration checks + // NOTE2: to make this file work, you must remap /oss/serv/startup to redirect to this file + %> + <% if (titleId != null && initPage == "showTitle") { + String redirURL = "https://oss-auth.blinklab.com/oss/serv/B_04.jsp?titleId=" + titleId; + response.sendRedirect(redirURL); + return 0; + } else if (titleId != null && initPage == "showManual") { + String RedirUrl = "https://oss-auth.blinklab.com/oss/serv/M_01.jsp?titleId=" + titleId; + response.sendRedirect(RedirURL); + return 0; + } else { + return 1; + } %> + +