The way I do it is to get the RunData object in the default.jsp
and then check to see if the user is logged in. If they are not
then I show the Login screen. I.E
<%@ import page = "org.apache.turbine.util.RunData" %>
.
.
.
<% RunData rdata = (RunData) request.getAttribute("rundata"); %>
<% if ( rdata.getUser().hasLoggedIn() ) { %>
Do something
<% } else { %>
get login screen
<% } %>
-- Steve Davis
-----Original Message-----
From: Anthony Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 5:03 PM
To: [EMAIL PROTECTED]
Subject: Simple question I hope
I am new to JETSPEED but I have a quick question.
Once I access Jetspeed at:: http://localhost:8080/jetspeed/
How do I change from the starting page that asks me to log on to just
going straight to the log on.
I know that the first page is (in my case)
c:\jakarta-tomcat-3.2.2\webapps\jetspeed\WEB_INF\templates\jsp\layouts\h
tml\default.jsp
which is this file:
<%@ taglib uri='../../tld/template.tld' prefix='jetspeed' %>
<html>
<!-- Jetspeed JSP Layout <a
href="mailto:[EMAIL PROTECTED]">Ingo Schuster</a> -->
<head>
<base href="<jetspeed:uriLookup type="BaseURL" />">
<link href="css/default.css" type="text/css" rel="stylesheet">
</head>
<body bgcolor="#ffffff">
<table cellspacing="0" width="100%" border="0" cellpadding="0">
<tr>
<td>
<img src="<jetspeed:contentUri href="images/FedExCorpLogo.gif" />">
</td>
<td>
<jetspeed:jetspeedNavigation defaultTemplate="top_default.jsp"
loggedInTemplate="top_loggedIn.jsp" />
</td>
</tr>
</table>
<table cellspacing="0" width="100%" cellpadding="0" border="0">
<tr>
<td valign="top" bgcolor="#ffffff">
<jetspeed:jetspeedNavigation defaultTemplate="left.jsp" />
<jetspeed:ecsscreen />
</td>
</tr>
</table>
<table cellspacing="0" width="100%" cellpadding="0" border="0">
<tr>
<td valign="bottom" bgcolor="#ffffff">
<jetspeed:jetspeedNavigation defaultTemplate="bottom.jsp" />
</td>
</tr>
</table>
</body>
</html>
********************
I just want to be able to go straight to the login screen in order to
type in my user id and password
with out getting that other screen.
I think that this snippet has something to do with it:
<jetspeed:ecsscreen />
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]