KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hamletsoft > enhydra > cactus > presentation > RedirectPresentation


1 /*
2  * cactus
3  *
4  * This type of presentation object could be the target of a form's
5  * submit button, process the data, and then decide where to send
6  * the user (back or on to the next page).
7  *
8  * 2001 Ryuji "The Hamlet" Hattori. all right reserved
9  *
10  *
11  * formatted with JxBeauty (c) johann.langhofer@nextra.at
12  */

13
14
15 package org.hamletsoft.enhydra.cactus.presentation;
16
17 import com.lutris.appserver.server.httpPresentation.*;
18
19
20 public class RedirectPresentation
21     implements HttpPresentation {
22
23   /*
24    * There is the only function needed in order to be a presentation object.
25    */

26   public void run (HttpPresentationComms comms) throws Exception JavaDoc {
27     throw new ClientPageRedirectException(comms.request.getAppFileURIPath("WelcomePresentation.po"));
28   }
29 }
30
31
32
33
Popular Tags