Customizing the SSGD wait screen Look and Feel
The first thing a user sees when he/she accesses the SSGD environment is a web page with a scrolling orange dot ('splash screen'). This screen is presented for a couple of seconds before it changes to the 'log on' screen.
The 'splash screen' is a very simple html-page which contains an animated gif image (the orange dot). This web page can easily be changed by following these steps:
- Create your own 'splash screen' page in html with your favorite web page editor
(It is wise to have some sort of animation in it to give your users the feeling there is still progress in setting up the SSGD connection) - Copy the html code into a text editor (vi,Notepad/Textpad/Ultraedit or alike)
- Remove everything except the part between <body> and </body>
- Replace all image locations to <%= path %>
Sohttp://servername/image_dir/image.gif
is changed to<%= path %>image.gif
- Add the following lines at the top:
<%@ page errorPage="/resources/jsp/errorpage.jsp" %>
<%@ page contentType="text/html" %>
<%@ include file="/attributes.jsp" %>
<%@ include file="/resources/jsp/utilities.jsp" %>
<%
String path = getContextPath(request) + "/resources/images/splash/locale=";
path = path + getBestSupportedLocale(request) + "/";
%> - Copy the new html(/jsp)-code to the file splash.jsp:
/opt/tarantella/webserver/tomcat/5.0.28_axis1.2/
webapps/sgd/webtops/standard/tcc/splash.jsp - Copy all images used in the page to:
/opt/tarantella/webserver/tomcat/5.0.28_axis1.2/
webapps/sgd/resources/images/splash/
To make sure the new 'splash screen' is available clear the browser cache and enjoy your new page :)