Creating applications : Creating applications : HTML HelloWorld sample : Running the HTML HelloWorld sample
  
Running the HTML HelloWorld sample
You must deploy the HTML HelloWorld sample on the server, and then you can run the sample to see the output application of the project.
To run the HTML HelloWorld sample
1 Import the HTML HelloWorld sample: In the workspace, click Menu > File > New > Others.
The New window opens.
2 In the New window, expand UDTT and HTML HelloWorldSamples, and then click HTML HelloWorldSample.
Click HTML HelloWorld Sample inthe New window
3 Click Next, and then click Finish.
The HTML HelloWorld sample is imported to the workspace.
4 If any validation errors exists, fix the errors in the project manually.
5 Add the sample EAR to the application server:
In the server view of Rational Application Developer, right-click the application server, and then click Add and Remove.
Move the HTMLHelloWorldEAR from the Available list to the Configured list, and then click Finish.
6 Run the HTML HelloWorld sample application: In a browser, enter the following URL:
http://host:port/HtmlHelloWorld/EstablishSession
Change host and port according to the value of your server.
The main page of the transaction is displayed.
This graphic is described in the surrounding text.
7 Select a main account from the Account Number list.
The sub account information is refreshed in the Sub accounts list table with an AJAX call.
8 Click a row in the Sub accounts list table. The sub account information is loaded into the transaction section automatically according to the ECA rules.
9 Enter the withdrawal amount, and then click Withdraw.
In the next confirm page, the transaction information is displayed.
This graphic is described in the surrounding text.
10 Click Confirm to process the withdrawal transaction.
The transaction result page is displayed.
This graphic is described in the surrounding text.
Go up to
HTML HelloWorld sample