01: package org.andromda.samples.carrental.welcome;
02:
03: import javax.servlet.http.HttpServletRequest;
04: import javax.servlet.http.HttpServletResponse;
05:
06: import org.apache.struts.action.ActionMapping;
07:
08: /**
09: * @see org.andromda.samples.carrental.welcome.WelcomeController
10: */
11: public class WelcomeControllerImpl extends WelcomeController {
12: /**
13: * @see org.andromda.samples.carrental.welcome.WelcomeController#getWelcomeMessage(org.apache.struts.action.ActionMapping,
14: * org.andromda.samples.carrental.welcome.GetWelcomeMessageForm,
15: * javax.servlet.http.HttpServletRequest,
16: * javax.servlet.http.HttpServletResponse)
17: */
18: public final java.lang.String getWelcomeMessage(
19: ActionMapping mapping,
20: org.andromda.samples.carrental.welcome.GetWelcomeMessageForm form,
21: HttpServletRequest request, HttpServletResponse response)
22: throws Exception {
23: final String welcomeMessage = "Welcome to the Andromda Car Rental Sample Application.\n"
24: + "\n"
25: + "This is the replacement Car Rental Application using the BPM4Struts cartridge."
26: + "This is work in progress."
27: + "It is basically a skeleton application."
28: + "Over time the functions in this application will be implemented.";
29:
30: return welcomeMessage;
31: }
32: }
|