1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package olr.presentation;
18
19 import com.lutris.appserver.server.httpPresentation.ClientPageRedirectException;
20 import com.lutris.appserver.server.httpPresentation.HttpPresentationException;
21
22 /***
23 * @version $Id: ContentFrame.java,v 1.6 2004/08/02 18:47:27 roku Exp $
24 */
25 public class ContentFrame extends SecureHttpPresentation {
26
27 public ContentFrame() {
28 aboutURI = null;
29 }
30
31 public String handleDefault() throws HttpPresentationException {
32 if (getSessionData().isAuthor())
33 throw new ClientPageRedirectException(getSessionData().getAuthorFrame());
34 else
35 throw new ClientPageRedirectException(getSessionData().getReaderFrame());
36 }
37
38 private String aboutURI;
39 }