You can add your own HTML, image, multimedia, or script
files to the IBM® Rational® Rhapsody® web
server file system from within the Rational Rhapsody application.
Procedure
To upload the files to the web server:
- In the browser of a working Rational Rhapsody model,
navigate to .
- Right-click the Files category.
- Select Add New File.
Type the name of the new file.
- In the browser, right-click the file and
select Features. Set the following controls:
- Name. Type in the name of
your HTML file.
- Path. Type in, or browse
to, the file you want to upload to the web server.
- File Type. Set to Other.
- Select the Properties tab.
- Set the WebComponents::File::WebManaged
File property to Checked.
- Click OK.
- Generate the code. Code generation converts
the file to a binary format, and embeds it into the executable file
generated by Rational Rhapsody.
Results
You can view web files you have added to
your model by going to the following URL:
http://<ip_address>/<filename>